implement valid Date time Local input

This commit is contained in:
tigercosmos 2017-12-19 08:51:05 +08:00
parent bcdb82b83f
commit b43424111e
7 changed files with 111 additions and 125 deletions

View file

@ -1,29 +1,9 @@
[datetime-local.html]
type: testharness
[datetime-local input value set to 2014-01-01 11:11:11.111 without min/max]
expected: FAIL
[datetime-local input value set to 2014-01-01 11:11 without min/max]
expected: FAIL
[datetime-local input value set to 2014-01-01 00:00:00.000 without min/max]
expected: FAIL
[datetime-local input value set to 2014-01-0 11:11 without min/max]
expected: FAIL
[datetime-local input value set to 2014-01-01 11:1 without min/max]
expected: FAIL
[Value >= min attribute]
expected: FAIL
[Value < min attribute]
expected: FAIL
[Value <= max attribute]
expected: FAIL
[Value > max attribute]
expected: FAIL

View file

@ -225,9 +225,6 @@
[change state from checkbox to email]
expected: FAIL
[change state from checkbox to datetime]
expected: FAIL
[change state from checkbox to number]
expected: FAIL
@ -294,96 +291,9 @@
[change state from button to range]
expected: FAIL
[change state from hidden to datetime-local]
expected: FAIL
[change state from text to datetime-local]
expected: FAIL
[change state from search to datetime-local]
expected: FAIL
[change state from tel to datetime-local]
expected: FAIL
[change state from url to datetime-local]
expected: FAIL
[change state from email to datetime-local]
expected: FAIL
[change state from password to datetime-local]
expected: FAIL
[change state from datetime-local to hidden]
expected: FAIL
[change state from datetime-local to checkbox]
expected: FAIL
[change state from datetime-local to radio]
expected: FAIL
[change state from datetime-local to submit]
expected: FAIL
[change state from datetime-local to image]
expected: FAIL
[change state from datetime-local to reset]
expected: FAIL
[change state from datetime-local to button]
expected: FAIL
[change state from datetime-local to email]
expected: FAIL
[change state from datetime-local to number]
expected: FAIL
[change state from datetime-local to range]
expected: FAIL
[change state from number to datetime-local]
expected: FAIL
[change state from range to datetime-local]
expected: FAIL
[change state from checkbox to datetime-local]
expected: FAIL
[change state from radio to datetime-local]
expected: FAIL
[change state from submit to datetime-local]
expected: FAIL
[change state from image to datetime-local]
expected: FAIL
[change state from reset to datetime-local]
expected: FAIL
[change state from button to datetime-local]
expected: FAIL
[change state from datetime-local to text]
expected: FAIL
[change state from datetime-local to search]
expected: FAIL
[change state from datetime-local to tel]
expected: FAIL
[change state from datetime-local to url]
expected: FAIL
[change state from datetime-local to password]
expected: FAIL
[change state from number to text]
expected: FAIL
@ -414,9 +324,6 @@
[change state from range to password]
expected: FAIL
[change state from color to datetime-local]
expected: FAIL
[change state from color to number]
expected: FAIL

View file

@ -18,12 +18,6 @@
[value IDL attribute of input type range with value attribute]
expected: FAIL
[value IDL attribute of input type datetime-local without value attribute]
expected: FAIL
[value IDL attribute of input type datetime-local with value attribute]
expected: FAIL
[value IDL attribute of input type email without value attribute]
expected: FAIL