mirror of
https://github.com/servo/servo.git
synced 2025-08-23 14:25:33 +01:00
implement valid Date time Local input
This commit is contained in:
parent
bcdb82b83f
commit
b43424111e
7 changed files with 111 additions and 125 deletions
|
@ -543003,7 +543003,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/the-input-element/datetime-local.html": [
|
||||
"7fe3ab2bd5a8d60e11d08460286ee8f02943b769",
|
||||
"382370387908b4625474b410621497a76476a0cf",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/the-input-element/datetime.html": [
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
{value: "2014-01-01 00:00:00.000", expected: "2014-01-01T00:00", testname: "datetime-local input value set to 2014-01-01 00:00:00.000 without min/max"},
|
||||
{value: "2014-01-0 11:11", expected: "", testname: "datetime-local input value set to 2014-01-0 11:11 without min/max"},
|
||||
{value: "2014-01-01 11:1", expected: "", testname: "datetime-local input value set to 2014-01-01 11:1 without min/max"},
|
||||
{value: "2014-01-01 11:1d1", expected: "", testname: "invalid datetime-local input value 1"},
|
||||
{value: "2014-01-01H11:11", expected: "", testname: "invalid datetime-local input value 2"},
|
||||
{value: "2014-01-01 11:11:", expected: "", testname: "invalid datetime-local input value 3"},
|
||||
{value: "2014-01-01 11-11", expected: "", testname: "invalid datetime-local input value 4"},
|
||||
{value: "2014-01-01 11:11:123", expected: "", testname: "invalid datetime-local input value 5"},
|
||||
{value: "2014-01-01 11:11:12.1234", expected: "", testname: "invalid datetime-local input value 6"},
|
||||
{value: "2014-01-01 11:12", attributes: { min: "2014-01-01 11:11" }, expected: "2014-01-01T11:12", testname: "Value >= min attribute"},
|
||||
{value: "2014-01-01 11:10", attributes: { min: "2014-01-01 11:11" }, expected: "2014-01-01T11:11", testname: "Value < min attribute"},
|
||||
{value: "2014-01-01 11:10", attributes: { max: "2014-01-01 11:11" }, expected: "2014-01-01T11:10", testname: "Value <= max attribute"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue