Closed
Bug 1258948
Opened 10 years ago
Closed 7 years ago
Forbid details and summary to be a shadow root
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: TYLin, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
189 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•10 years ago
|
||
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
Reporter | ||
Updated•9 years ago
|
Summary: Consider details/summary behavior involving Shadow DOM → Forbid details and summary to be a shadow root
Reporter | ||
Updated•9 years ago
|
status-firefox48:
affected → ---
Comment 2•7 years ago
|
||
In Shadow DOM v1 <details> or <summary> can't be shadow hosts.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•