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:
Josh Matthews 2024-11-20 00:57:50 -05:00 committed by GitHub
parent c73e4baca2
commit 910e8dc89f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
207 changed files with 4735 additions and 260 deletions

View file

@ -0,0 +1,54 @@
[HTMLSlotElement-interface.html]
[HTMLSlotElement must be defined on window]
expected: FAIL
["name" attribute on HTMLSlotElement must reflect "name" attribute]
expected: FAIL
[assignedNodes() on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree]
expected: FAIL
[assignedNodes({"flattened":false}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree]
expected: FAIL
[assignedNodes({"flattened":true}) on a HTMLSlotElement must return an empty array when the slot element is not in a tree or in a document tree]
expected: FAIL
[assignedNodes() must return the list of assigned nodes when none of the assigned nodes themselves are slots]
expected: FAIL
[assignedNodes({"flattened":false}) must return the list of assigned nodes when none of the assigned nodes themselves are slots]
expected: FAIL
[assignedNodes({"flattened":true}) must return the list of assigned nodes when none of the assigned nodes themselves are slots]
expected: FAIL
[assignedNodes() must update when slot and name attributes are modified]
expected: FAIL
[assignedNodes({"flattened":false}) must update when slot and name attributes are modified]
expected: FAIL
[assignedNodes({"flattened":true}) must update when slot and name attributes are modified]
expected: FAIL
[assignedNodes() must update when a default slot is introduced dynamically by a slot rename]
expected: FAIL
[assignedNodes({"flattened":false}) must update when a default slot is introduced dynamically by a slot rename]
expected: FAIL
[assignedNodes({"flattened":true}) must update when a default slot is introduced dynamically by a slot rename]
expected: FAIL
[assignedNodes() must update when slot elements are inserted or removed]
expected: FAIL
[assignedNodes({"flattened":false}) must update when slot elements are inserted or removed]
expected: FAIL
[assignedNodes({"flattened":true}) must update when slot elements are inserted or removed]
expected: FAIL
[assignedNodes({flatten: true}) must return the distributed nodes, and assignedNodes() and assignedNodes({flatten: false}) must returned the assigned nodes]
expected: FAIL