Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<input type="date"> does not clamp its value #4596

Merged
merged 1 commit into from Jan 21, 2017
Merged

Conversation

cvrebert
Copy link
Contributor

For the same reasons as #4591 (just s/week/date/g), <input type="date"> does not clamp its value based on its range limitations from its min/max attributes.
This test incorrectly expected <input type="date"> to perform such clamping.

For the same reasons as #4591 (just s/week/date/g),
<input type="date"> does not clamp its value based on its range limitations from its `min`/`max` attributes.
This test incorrectly expected <input type="date"> to perform such clamping.
@wpt-pr-bot
Copy link
Collaborator

@wpt-stability-bot
Copy link

Firefox (nightly channel)

Testing web-platform-tests at revision 3b6befd
Using browser at version BuildID 20170119222621; SourceStamp a3978751f45108ff1ae002ecebdc0fa23fc52b84
Starting 10 test iterations
All results were stable

All results

/html/semantics/forms/the-input-element/date.html
Subtest Results
OK
User agents must not allow the user to set the value to a non-empty string that is not a valid date string. PASS
date type support on input element PASS
Number of days PASS
The value attribute, if specified and not empty, must have a value that is a valid date string. PASS
The min attribute must be reflected verbatim by the min property. PASS
The max attribute, if specified, must have a value that is a valid date string. FAIL

@wpt-stability-bot
Copy link

Chrome (unstable channel)

Testing web-platform-tests at revision 3b6befd
Using browser at version 55.0.2883.75
Starting 10 test iterations
All results were stable

All results

/html/semantics/forms/the-input-element/date.html
Subtest Results
OK
User agents must not allow the user to set the value to a non-empty string that is not a valid date string. PASS
date type support on input element PASS
Number of days PASS
The value attribute, if specified and not empty, must have a value that is a valid date string. PASS
The min attribute must be reflected verbatim by the min property. PASS
The max attribute, if specified, must have a value that is a valid date string. FAIL

@jdm jdm merged commit c7ee4c0 into master Jan 21, 2017
@cvrebert cvrebert deleted the input-date-noclamp branch January 21, 2017 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants