script: Update list of non-TS pseudo classes supported by Servo (#33165)

Also remove some code duplication by moving some of the code into the
`Element` impl.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-08-24 01:43:54 -07:00 committed by GitHub
parent ad45fa0a19
commit 7582afebec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 58 additions and 68 deletions

View file

@ -1,7 +1,4 @@
[focus-visible-017-2.html]
[":focus-visible" should be a valid selector]
expected: FAIL
[By default initial programatic focus matches ':focus-visible', so the element ABBR shows a focus ring with 'outline-style: auto']
expected: FAIL

View file

@ -1,7 +1,3 @@
[focus-visible-017.html]
[By default initial programatic focus matches ':focus-visible', so the element shows a focus ring with 'outline-style: auto']
expected: FAIL
[":focus-visible" should be a valid selector]
expected: FAIL

View file

@ -1,6 +1,3 @@
[focus-visible-023.html]
[":focus-visible" should be a valid selector]
expected: FAIL
[:focus-visible stop matching after blur]
expected: FAIL

View file

@ -1,6 +1,3 @@
[focus-visible-script-focus-001.html]
[":focus-visible" should be a valid selector]
expected: FAIL
[Script focus without any previous user interaction matches :focus-visible]
expected: FAIL

View file

@ -1,7 +1,4 @@
[focus-within-009.html]
[Initial State]
expected: FAIL
[Focus 'target1']
expected: FAIL
@ -17,9 +14,6 @@
[Focus 'target1' once again]
expected: FAIL
[Detach 'container1' from the document]
expected: FAIL
[Try to focus 'target1']
expected: FAIL
@ -31,6 +25,3 @@
[Focus 'target1' for the last time]
expected: FAIL
[Move 'target1' in 'container2']
expected: FAIL

View file

@ -1,10 +0,0 @@
[parse-focus-visible.html]
[":focus-visible" should be a valid selector]
expected: FAIL
["a:focus-visible" should be a valid selector]
expected: FAIL
[":focus:not(:focus-visible)" should be a valid selector]
expected: FAIL

View file

@ -1,7 +1,3 @@
[autofill.html]
[":autofill" should be a valid selector]
expected: FAIL
[":-webkit-autofill" should be a valid selector]
expected: FAIL