ladybird/Tests/LibWeb/Text/expected/wpt-import/shadow-dom/declarative/declarative-shadow-dom-basic.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

27 lines
No EOL
1.3 KiB
Text

Harness status: OK
Found 22 tests
22 Pass
Pass Declarative Shadow DOM: Basic test
Pass Declarative Shadow DOM: Feature detection
Pass Shadowrootmode reflection
Pass Shadowrootmode reflection, setter
Pass Shadowrootdelegatesfocus reflection
Pass Shadowrootdelegatesfocus reflection, setter
Pass Shadowrootclonable reflection
Pass Shadowrootclonable reflection, setter
Pass Declarative Shadow DOM: Fragment parser basic test
Pass Declarative Shadow DOM: Invalid shadow root attribute
Pass Declarative Shadow DOM: Closed shadow root attribute
Pass Declarative Shadow DOM: Missing closing tag
Pass Declarative Shadow DOM: delegates focus attribute
Pass Declarative Shadow DOM: clonable attribute
Pass Declarative Shadow DOM: Multiple roots
Pass Declarative Shadow DOM: template containing declarative shadow root (with shadowrootclonable)
Pass Declarative Shadow DOM: template containing (deeply nested) declarative shadow root
Pass Declarative Shadow DOM: template containing a template containing declarative shadow root
Pass Declarative Shadow DOM: template containing declarative shadow root and UA shadow root
Pass Declarative Shadow DOM: template containing closed declarative shadow root and UA shadow root
Pass Declarative Shadow DOM: declarative shadow roots are not supported by the template element
Pass Declarative Shadow DOM: explicit test that exceptions are not thrown