mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
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.
27 lines
No EOL
1.3 KiB
Text
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 |