mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement :valid :invalid pseudo classes (#26729)
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
2b67392fd5
commit
5f2c6c09cd
30 changed files with 324 additions and 241 deletions
|
@ -1,9 +1,4 @@
|
|||
[Element-closest.html]
|
||||
type: testharness
|
||||
[Element.closest with context node 'test11' and selector ':invalid']
|
||||
bug: https://github.com/servo/servo/issues/10781
|
||||
expected: FAIL
|
||||
|
||||
[Element.closest with context node 'test4' and selector ':has(> :scope)']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[infinite_backtracking.html]
|
||||
expected: TIMEOUT
|
||||
[Infinite backtracking pattern terminates]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[input-number-validity-dynamic-value-no-change.html]
|
||||
[number input number validation is updated correctly after value attribute change which doesn't change input value]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[input-pattern-dynamic-value.html]
|
||||
[input validation is updated after pattern attribute change]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[radio-valueMissing.html]
|
||||
[One of the radios is required and another one is checked]
|
||||
expected: FAIL
|
|
@ -1,4 +0,0 @@
|
|||
[form-submit-iframe-then-location-navigate.html]
|
||||
expected: TIMEOUT
|
||||
[Verifies that location navigations take precedence when following form submissions.]
|
||||
expected: TIMEOUT
|
|
@ -5,9 +5,6 @@
|
|||
[text/plain: Basic File test (normal form)]
|
||||
expected: FAIL
|
||||
|
||||
[text/plain: 0x00 in name (normal form)]
|
||||
expected: FAIL
|
||||
|
||||
[text/plain: 0x00 in value (normal form)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[form-requestsubmit.html]
|
||||
[The value of the submitter should be appended, and form* attributes of the submitter should be handled.]
|
||||
expected: FAIL
|
||||
|
||||
[requestSubmit() should trigger interactive form validation]
|
||||
expected: FAIL
|
|
@ -2,18 +2,6 @@
|
|||
[pattern attribute support on input element]
|
||||
expected: FAIL
|
||||
|
||||
[basic <input pattern> support]
|
||||
expected: FAIL
|
||||
|
||||
[<input pattern> is Unicode code point-aware]
|
||||
expected: FAIL
|
||||
|
||||
[<input pattern> supports Unicode property escape syntax]
|
||||
expected: FAIL
|
||||
|
||||
[<input pattern> supports Unicode property escape syntax for properties of strings]
|
||||
expected: FAIL
|
||||
|
||||
[<input pattern> supports set difference syntax]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[radio.html]
|
||||
[Radio buttons in an orphan tree should make a group]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[output-validity.html]
|
||||
[:valid and :invalid pseudo-class on output element]
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[select-validity.html]
|
||||
[Remove and add back the placeholder label option]
|
||||
expected: FAIL
|
|
@ -1,6 +0,0 @@
|
|||
[valid-invalid-fieldset-disconnected.html]
|
||||
[<input> element becomes invalid inside disconnected <fieldset>]
|
||||
expected: FAIL
|
||||
|
||||
[<select> element becomes valid inside disconnected <fieldset>]
|
||||
expected: FAIL
|
|
@ -1,87 +0,0 @@
|
|||
[valid-invalid.html]
|
||||
type: testharness
|
||||
bug: https://github.com/servo/servo/issues/10781
|
||||
[':valid' matches elements that satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':valid' matches form elements that are not the form owner of any elements that themselves are candidates for constraint validation but do not satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':valid' matches fieldset elements that have no descendant elements that themselves are candidates for constraint validation but do not satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':valid' matches elements that satisfy their pattern constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':valid' matches elements that satisfy their number constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' matches elements that do not satisfy their simple text constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' matches form elements that are the form owner of one or more elements that themselves are candidates for constraint validation but do not satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' matches fieldset elements that have of one or more descendant elements that themselves are candidates for constraint validation but do not satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' matches elements that do not satisfy their pattern constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' matches elements that do not satisfy their number constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':valid' matches new elements that satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' doesn't match new elements that satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':valid' doesn't match new elements that do not satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[':invalid' matches new elements that do not satisfy their constraints]
|
||||
expected: FAIL
|
||||
|
||||
[empty form correctly styled on page-load]
|
||||
expected: FAIL
|
||||
|
||||
[valid form correctly styled on page-load]
|
||||
expected: FAIL
|
||||
|
||||
[invalid form correctly styled on page-load]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically adding valid to empty form results in correct style]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically adding invalid to empty form results in correct style]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically-invalidated form correctly styled]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically-validated form correctly styled]
|
||||
expected: FAIL
|
||||
|
||||
[empty fieldset correctly styled on page-load]
|
||||
expected: FAIL
|
||||
|
||||
[valid fieldset correctly styled on page-load]
|
||||
expected: FAIL
|
||||
|
||||
[invalid fieldset correctly styled on page-load]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically adding valid to empty fieldset results in correct style]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically adding invalid to empty fieldset results in correct style]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically-invalidated fieldset correctly styled]
|
||||
expected: FAIL
|
||||
|
||||
[programmatically-validated fieldset correctly styled]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[input-pattern-dynamic-value.html]
|
||||
[input validation is updated after pattern attribute change]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[form-double-submit-2.html]
|
||||
[preventDefault should allow onclick submit() to succeed]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[form-double-submit.html]
|
||||
[default submit action should supersede onclick submit()]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue