mirror of
https://github.com/servo/servo.git
synced 2025-10-03 18:19:14 +01:00
Auto merge of #19602 - tigercosmos:r1, r=KiChjang
implement valid DatetimeLocal input <!-- Please describe your changes on the following line: --> implement valid Date time Local input part of #19172 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #19587 fix #19603(github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19602) <!-- Reviewable:end -->
This commit is contained in:
commit
7f36b59762
7 changed files with 111 additions and 125 deletions
|
@ -543103,7 +543103,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