diff options
author | elomscansio <163124154+elomscansio@users.noreply.github.com> | 2025-03-27 18:20:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-27 17:20:42 +0000 |
commit | a8063b8b4b692a741f57fa69c58b4daa2f7d19f6 (patch) | |
tree | 4cd5f82e4730c47a3c0ea9179ede0bd332f7159c /components/script/dom/windowproxy.rs | |
parent | b4ac6e8ce22ebad509eea563f91dcdd9c231c83b (diff) | |
download | servo-a8063b8b4b692a741f57fa69c58b4daa2f7d19f6.tar.gz servo-a8063b8b4b692a741f57fa69c58b4daa2f7d19f6.zip |
fix(parser): Set shadow’s available to element internals in attach_declarative_shadow (#36173)
Aligns the implementation with step 8.5 of the HTML spec for parsing
a <template> element in the InHead state by setting
shadow_root.set_available_to_element_internals(true) after
assigning the shadow root to the template’s contents.
Also removes tests/wpt/meta/shadow-dom/declarative/declarative-shadow-dom-available-to-element-internals.html.ini
since the test expectations are now updated accordingly.
Spec reference: https://html.spec.whatwg.org/multipage/#parsing-main-inhead
Signed-off-by: Emmanuel Elom <elomemmanuel007@gmail.com>
Diffstat (limited to 'components/script/dom/windowproxy.rs')
0 files changed, 0 insertions, 0 deletions