mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #19559 - tigercosmos:t1, r=KiChjang
implement valid week string <!-- Please describe your changes on the following line: --> implement valid week string part of #19172 r? @KiChjang --- <!-- 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] There are tests for these changes <!-- 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/19559) <!-- Reviewable:end -->
This commit is contained in:
commit
8798e49889
11 changed files with 103 additions and 128 deletions
|
@ -543187,7 +543187,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/the-input-element/week.html": [
|
||||
"851b1b794f820b1fb9b7ee57fe39f8f2977b7fe6",
|
||||
"95fa0e8176311adcbb5a8d0d408d3c4c8bea100c",
|
||||
"testharness"
|
||||
],
|
||||
"html/semantics/forms/the-label-element/.gitkeep": [
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
[change state from hidden to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from hidden to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from hidden to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -21,9 +18,6 @@
|
|||
[change state from text to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from text to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from text to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -36,9 +30,6 @@
|
|||
[change state from search to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from search to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from search to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -51,9 +42,6 @@
|
|||
[change state from tel to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from tel to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from tel to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,9 +63,6 @@
|
|||
[change state from url to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from url to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from url to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -108,9 +93,6 @@
|
|||
[change state from email to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from email to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from email to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -123,9 +105,6 @@
|
|||
[change state from password to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from password to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from password to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -171,27 +150,9 @@
|
|||
[change state from month to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to reset]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to button]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to email]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to hidden]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to range]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -228,9 +189,6 @@
|
|||
[change state from number to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to range]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -261,9 +219,6 @@
|
|||
[change state from range to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from range to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from range to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -273,9 +228,6 @@
|
|||
[change state from checkbox to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from checkbox to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from checkbox to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -288,9 +240,6 @@
|
|||
[change state from radio to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from radio to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from radio to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -303,9 +252,6 @@
|
|||
[change state from submit to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from submit to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from submit to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -318,9 +264,6 @@
|
|||
[change state from image to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from image to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from image to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -333,9 +276,6 @@
|
|||
[change state from reset to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from reset to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from reset to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -348,9 +288,6 @@
|
|||
[change state from button to datetime]
|
||||
expected: FAIL
|
||||
|
||||
[change state from button to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from button to number]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -402,18 +339,12 @@
|
|||
[change state from datetime-local to email]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime-local to week]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime-local to number]
|
||||
expected: FAIL
|
||||
|
||||
[change state from datetime-local to range]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
[change state from number to datetime-local]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -453,33 +384,6 @@
|
|||
[change state from datetime-local to password]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to text]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to search]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to tel]
|
||||
expected: FAIL
|
||||
|
||||
[change state from week to url]
|
||||
expected: FAIL
|
||||
|
||||
[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
|
||||
|
||||
|
@ -513,9 +417,6 @@
|
|||
[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
|
||||
|
||||
|
|
|
@ -6,12 +6,6 @@
|
|||
[value IDL attribute of input type datetime with value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type week without value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type week with value attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value IDL attribute of input type number without value attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
[week.html]
|
||||
type: testharness
|
||||
[2014 has 52 weeks: Value should be empty]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid value: year only]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid value: no week number]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid value: no '-' (U+002D)]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid value: yearless week]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid value: yearless week and no '-' (U+002D)]
|
||||
expected: FAIL
|
||||
|
|
@ -17,6 +17,9 @@
|
|||
{value: "2014W", expected: "", testname: "Invalid value: no week number"},
|
||||
{value: "2014W52", expected: "", testname: "Invalid value: no '-' (U+002D)"},
|
||||
{value: "-W52", expected: "", testname: "Invalid value: yearless week"},
|
||||
{value: "2017-w52", expected: "", testname: "Invalid value: should be capital letter 'W'"},
|
||||
{value: "2017-W52-", expected: "", testname: "Invalid value: incorrect with '-' at the end"},
|
||||
{value: "2017-W52-12", expected: "", testname: "Invalid value: value should be two parts"},
|
||||
{value: "W52", expected: "", testname: "Invalid value: yearless week and no '-' (U+002D)"},
|
||||
{value: "2014-W03", attributes: { min: "2014-W02" }, expected: "2014-W03", testname: "Value >= min attribute"},
|
||||
{value: "2014-W01", attributes: { min: "2014-W02" }, expected: "2014-W01", testname: "Value < min attribute"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue