ladybird/Tests/LibWeb/Text/expected/wpt-import/shadow-dom/attachShadow-with-ShadowRoot.txt
Sam Atkins aac387bcc6 LibWeb/DOM: Copy "allow declarative shadow roots" to template document
This flag defaults to false for new Documents, such as the one created
here for use by template elements' contents. Without setting it to
true, nothing inside a template can have a declarative shadow dom.

As noted, this appears to be a spec issue. I am not convinced that this
is the correct fix, but it is simple and does solve the issue without
any apparent regressions.
2025-11-26 09:52:47 +01:00

7 lines
No EOL
166 B
Text

Harness status: OK
Found 2 tests
2 Pass
Pass can use ShadowRoot as options for attachShadow
Pass can use ShadowRoot in document fragment as options for attachShadow