mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
implement "Date type inputs", "Month type inputs"
This commit is contained in:
parent
eed3adc957
commit
927fd1d044
10 changed files with 182 additions and 317 deletions
|
@ -5,10 +5,3 @@
|
|||
|
||||
[The max attribute, if specified, must have a value that is a valid date string.]
|
||||
expected: FAIL
|
||||
|
||||
[User agents must not allow the user to set the value to a non-empty string that is not a valid date string.]
|
||||
expected: FAIL
|
||||
|
||||
[Number of days]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,32 +1,4 @@
|
|||
[month.html]
|
||||
type: testharness
|
||||
[The value attribute, if specified and not empty, must have a value that is a valid month string]
|
||||
expected: FAIL
|
||||
|
||||
[The min attribute, if specified, must have a value that is a valid month string.]
|
||||
expected: FAIL
|
||||
|
||||
[The max attribute, if specified, must have a value that is a valid month string]
|
||||
expected: FAIL
|
||||
|
||||
[User agents must not allow the user to set the value to a non-empty string that is not a valid month string.]
|
||||
expected: FAIL
|
||||
|
||||
[When value attribute has two digits year value, the value,which is invalid, must return empty string.]
|
||||
expected: FAIL
|
||||
|
||||
[When value is set with invalid value, the value must return empty string.]
|
||||
expected: FAIL
|
||||
|
||||
[When value is given invalid value to non-empty valid string, the value must be same as before.]
|
||||
expected: FAIL
|
||||
|
||||
[When step attribute is given invalid value, it must ignore the invalid value and use defaul value instead.]
|
||||
expected: FAIL
|
||||
|
||||
[Month should be <= 13: If the value of the element is not a valid month string, then set it to the empty string instead.]
|
||||
expected: FAIL
|
||||
|
||||
[Month should be > 0: If the value of the element is not a valid month string, then set it to the empty string instead.>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
[telephone.html]
|
||||
type: testharness
|
||||
[The value attribute, if specified, must have a value that contains no "LF" (U+000A)]
|
||||
expected: FAIL
|
||||
|
||||
[The value attribute, if specified, must have a value that contains no "CR" (U+000D)]
|
||||
expected: FAIL
|
||||
|
||||
[The value sanitization algorithm is as follows: Strip line breaks from the value]
|
||||
expected: FAIL
|
||||
|
|
@ -6,12 +6,6 @@
|
|||
[change state from hidden to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from hidden to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from hidden to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from hidden to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,12 +21,6 @@
|
|||
[change state from text to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from text to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from text to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from text to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -48,12 +36,6 @@
|
|||
[change state from search to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from search to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from search to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from search to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -69,12 +51,6 @@
|
|||
[change state from tel to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from tel to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from tel to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from tel to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -99,12 +75,6 @@
|
|||
[change state from url to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from url to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from url to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from url to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -138,12 +108,6 @@
|
|||
[change state from email to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from email to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from email to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from email to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -159,12 +123,6 @@
|
|||
[change state from password to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from password to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from password to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from password to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -192,12 +150,6 @@
|
|||
[change state from datetime to password]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -207,99 +159,18 @@
|
|||
[change state from datetime to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to hidden]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to checkbox]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to radio]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to submit]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to image]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to reset]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to button]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to email]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to hidden]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to checkbox]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to radio]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to submit]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to image]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to reset]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to button]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to email]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to number]
|
||||
[change state from date to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to hidden]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to checkbox]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to radio]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to submit]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to image]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to reset]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -312,10 +183,10 @@
|
|||
[change state from week to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to date]
|
||||
[change state from week to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to month]
|
||||
[change state from week to hidden]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to number]
|
||||
|
@ -324,6 +195,12 @@
|
|||
[change state from week to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from time to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from time to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to hidden]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -351,12 +228,6 @@
|
|||
[change state from number to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -390,12 +261,6 @@
|
|||
[change state from range to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from range to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from range to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from range to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -408,12 +273,6 @@
|
|||
[change state from checkbox to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from checkbox to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from checkbox to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from checkbox to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -429,12 +288,6 @@
|
|||
[change state from radio to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from radio to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from radio to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from radio to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -450,12 +303,6 @@
|
|||
[change state from submit to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from submit to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from submit to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from submit to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -471,12 +318,6 @@
|
|||
[change state from image to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from image to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from image to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from image to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -492,12 +333,6 @@
|
|||
[change state from reset to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from reset to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from reset to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from reset to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -513,12 +348,6 @@
|
|||
[change state from button to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from button to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from button to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from button to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -573,12 +402,6 @@
|
|||
[change state from datetime-local to email]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime-local to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime-local to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime-local to week]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -588,12 +411,6 @@
|
|||
[change state from datetime-local to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -621,7 +438,6 @@
|
|||
[change state from button to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[change state from datetime-local to text]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -637,39 +453,6 @@
|
|||
[change state from datetime-local to password]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[change state from date to text]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to search]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to tel]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to url]
|
||||
expected: FAIL
|
||||
|
||||
[change state from date to password]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[change state from month to text]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to search]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to tel]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to url]
|
||||
expected: FAIL
|
||||
|
||||
[change state from month to password]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[change state from week to text]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -685,6 +468,17 @@
|
|||
[change state from week to password]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to checkbox]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to radio]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to submit]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to image]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to text]
|
||||
expected: FAIL
|
||||
|
@ -701,29 +495,6 @@
|
|||
[change state from number to password]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[change state from color to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to date]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to month]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to range]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[change state from time to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from range to text]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -738,3 +509,15 @@
|
|||
|
||||
[change state from range to password]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from color to range]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
[url.html]
|
||||
type: testharness
|
||||
[The value sanitization algorithm is as follows: Strip line breaks from the value]
|
||||
expected: FAIL
|
||||
|
||||
[The value sanitization algorithm is as follows: Strip leading and trailing whitespace from the value.]
|
||||
expected: FAIL
|
||||
|
|
@ -6,18 +6,6 @@
|
|||
[value IDL attribute of input type datetime with value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type date without value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type date with value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type month without value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type month with value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type week without value attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue