mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Enable Shadow DOM for tests (#34299)
* Enable shadowdom implementation in all tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update test expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
c73e4baca2
commit
910e8dc89f
207 changed files with 4735 additions and 260 deletions
9
tests/wpt/meta/shadow-dom/focus/ShadowRoot-delegatesFocus.html.ini
vendored
Normal file
9
tests/wpt/meta/shadow-dom/focus/ShadowRoot-delegatesFocus.html.ini
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
[ShadowRoot-delegatesFocus.html]
|
||||
[default delegatesFocus value]
|
||||
expected: FAIL
|
||||
|
||||
[delegatesFocus set to false in init dict]
|
||||
expected: FAIL
|
||||
|
||||
[delegatesFocus set to true in init dict]
|
||||
expected: FAIL
|
3
tests/wpt/meta/shadow-dom/focus/delegatesFocus-tabindex-change.html.ini
vendored
Normal file
3
tests/wpt/meta/shadow-dom/focus/delegatesFocus-tabindex-change.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[delegatesFocus-tabindex-change.html]
|
||||
[Setting tabindex on the shadow host of a focused element with delegatesFocus should not change focus.]
|
||||
expected: FAIL
|
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-matches-on-shadow-host.html.ini
vendored
Normal file
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-matches-on-shadow-host.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[focus-pseudo-matches-on-shadow-host.html]
|
||||
expected: TIMEOUT
|
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-on-shadow-host-1.html.ini
vendored
Normal file
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-on-shadow-host-1.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[focus-pseudo-on-shadow-host-1.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-on-shadow-host-2.html.ini
vendored
Normal file
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-on-shadow-host-2.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[focus-pseudo-on-shadow-host-2.html]
|
||||
expected: CRASH
|
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-on-shadow-host-3.html.ini
vendored
Normal file
2
tests/wpt/meta/shadow-dom/focus/focus-pseudo-on-shadow-host-3.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[focus-pseudo-on-shadow-host-3.html]
|
||||
expected: CRASH
|
36
tests/wpt/meta/shadow-dom/focus/focus-selector-delegatesFocus.html.ini
vendored
Normal file
36
tests/wpt/meta/shadow-dom/focus/focus-selector-delegatesFocus.html.ini
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
[focus-selector-delegatesFocus.html]
|
||||
[:focus applies to host with delegatesFocus=true when the shadow root's descendant has focus]
|
||||
expected: FAIL
|
||||
|
||||
[:focus does not apply to host with delegatesFocus=true when slotted element has focus]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=true when an element in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=true when none of the elements in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=true when an element in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=true when none of the elements in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=false when the shadow root's descendant has focus]
|
||||
expected: FAIL
|
||||
|
||||
[:focus does not apply to host with delegatesFocus=false when slotted element has focus]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=false when an element in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=false when none of the elements in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=false when an element in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=false when none of the elements in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
6
tests/wpt/meta/shadow-dom/focus/focus-shadowhost-display-none.html.ini
vendored
Normal file
6
tests/wpt/meta/shadow-dom/focus/focus-shadowhost-display-none.html.ini
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[focus-shadowhost-display-none.html]
|
||||
[when shadow host itself is focused, it should match display:none, lose focus then becomes display:block again.]
|
||||
expected: FAIL
|
||||
|
||||
[when shadow host with delegatesFocus=true has focused element inside the shadow, it should also match display:none, then lose focus and become display:block again.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue