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,48 @@
[offsetParent-across-shadow-boundaries.html]
[offsetParent must return the offset parent in the same shadow tree of open mode]
expected: FAIL
[offsetParent must return the offset parent in the same shadow tree of closed mode]
expected: FAIL
[offsetParent must return the offset parent in the same shadow tree of open mode even when nested]
expected: FAIL
[offsetParent must return the offset parent in the same shadow tree of closed mode even when nested]
expected: FAIL
[offsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode]
expected: FAIL
[offsetParent must skip offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode]
expected: FAIL
[offsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of open mode]
expected: FAIL
[offsetParent must skip multiple offset parents of an element when the context object is assigned to a slot in a shadow tree of closed mode]
expected: FAIL
[offsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of open mode]
expected: FAIL
[offsetParent must skip offset parents of an element when the context object is assigned to a slot in nested shadow trees of closed mode]
expected: FAIL
[offsetParent must find the first offset parent which is a shadow-including ancestor of the context object even some shadow tree of open mode did not have any offset parent]
expected: FAIL
[offsetParent must find the first offset parent which is a shadow-including ancestor of the context object even some shadow tree of closed mode did not have any offset parent]
expected: FAIL
[offsetParent must return null on a child element of a shadow host for the shadow tree in open mode which is not assigned to any slot]
expected: FAIL
[offsetParent must return null on a child element of a shadow host for the shadow tree in closed mode which is not assigned to any slot]
expected: FAIL
[offsetParent must return null on a child element of a shadow host for the shadow tree in open mode which is not in the flat tree]
expected: FAIL
[offsetParent must return null on a child element of a shadow host for the shadow tree in closed mode which is not in the flat tree]
expected: FAIL