diff options
author | Simon Wülker <simon.wuelker@arcor.de> | 2025-02-04 21:47:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-04 20:47:33 +0000 |
commit | aa09e2b88f3666e89551766c94f0efb431361718 (patch) | |
tree | f68f037d32ed9a079945734442ccea484cf68608 /tests/wpt/meta/html | |
parent | 3a75e1205badb6ca26aa98ce951e013c813d95a0 (diff) | |
download | servo-aa09e2b88f3666e89551766c94f0efb431361718.tar.gz servo-aa09e2b88f3666e89551766c94f0efb431361718.zip |
Make traverse_preorder follow children of shadow hosts (#35276)
* Make traverse_preorder follow children of shadow hosts
Children of shadow hosts are not displayed, but they
still exist in the DOM and must be traversed.
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Fix traverse_preorder over shadow roots
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
* Update WPT expectations
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
---------
Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'tests/wpt/meta/html')
2 files changed, 14 insertions, 3 deletions
diff --git a/tests/wpt/meta/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-in-slot.html.ini b/tests/wpt/meta/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-in-slot.html.ini deleted file mode 100644 index 4ed1ce5159e..00000000000 --- a/tests/wpt/meta/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-in-slot.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[legend-in-slot.html] - expected: FAIL diff --git a/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/canvas-descendants-focusability-004.tentative.html.ini b/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/canvas-descendants-focusability-004.tentative.html.ini index 5316effdce5..1900b9aedd1 100644 --- a/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/canvas-descendants-focusability-004.tentative.html.ini +++ b/tests/wpt/meta/html/semantics/embedded-content/the-canvas-element/canvas-descendants-focusability-004.tentative.html.ini @@ -1,2 +1,15 @@ [canvas-descendants-focusability-004.tentative.html] - expected: TIMEOUT + [<button data-focusable="false">] + expected: FAIL + + [<section tabindex="-1" data-focusable="false">] + expected: FAIL + + [<div tabindex="-1" data-focusable="false">] + expected: FAIL + + [<span tabindex="-1" data-focusable="false">] + expected: FAIL + + [<a href="#" data-focusable="false">] + expected: FAIL |