Open Bug 1867577 Opened 1 year ago Updated 10 months ago

Check support for declarative Shadow DOM

Categories

(DevTools :: Inspector, task)

task

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Depends on 1 open bug)

Details

At the moment we do show ShadowDOM elements in the markup view and you can expand the tree.
We may have code that assumes they're always registered with attachShadow, so we should check that declarative instances are working just fine.

I didn't check the code, though the Inspector does show Declarative Shadow DOM as expected. Simple test cases for open and closed shadow roots:

data:text/html,<some-element><template shadowrootmode="open">Open Declarative Shadow DOM supported</template></some-element>

data:text/html,<some-element><template shadowrootmode="closed">Closed Declarative Shadow DOM supported</template></some-element>

Sebastian

Depends on: 1871814
You need to log in before you can comment on or make changes to this bug.