-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Steps to reproduce
Add an element with declarative shadow DOM with an invoker in it:
<header>
<template shadowrootmode="open">
<button command="toggle-popover" commandfor="menu">Menu</button>
<menu id="menu" popover="">
Menu
</menu>
</template>
<header>Include the polyfill script.
View the page in Safari 18.x.
Here is a codepen for the above: https://codepen.io/sntran/full/LENaVoN
Expected result
- Clicking Menu button should popover the menu element.
Actual result
- Nothing happen.
Observations
The polyfill does handle shadow DOM, but it seems that the browser does not call either attachShadow nor attachInternals when declarative shadow DOM is used.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels