Created attachment 8733707 [details] details-as-shadow-root.html If details is a shadow root, what should happen if we insert summary to the shadow tree? See details-as-shadow-root.html for example. On Chrome, the details element will lose its semantics and act like a block element. Currently, Firefox will generate a default summary for the details, but the details fail to hide the <summary> in the shadow tree when it closes.
Quote from Olli in bug 1245424 comment 16: FWIW, summary nor details can be a shadow dom host. http://w3c.github.io/webcomponents/spec/shadow/#widl-Element-attachShadow-ShadowRoot-ShadowRootInit-shadowRootInitDict
Summary: Consider details/summary behavior involving Shadow DOM → Forbid details and summary to be a shadow root
In Shadow DOM v1 <details> or <summary> can't be shadow hosts.
Status: NEW → RESOLVED
Last Resolved: 17 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.