Forbid details and summary to be a shadow root

RESOLVED FIXED

Status

()

Core
Layout
RESOLVED FIXED
2 years ago
17 days ago

People

(Reporter: TYLin, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
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.
(Reporter)

Updated

2 years ago
Summary: Consider details/summary behavior involving Shadow DOM → Forbid details and summary to be a shadow root
(Reporter)

Updated

2 years ago
status-firefox48: affected → ---
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.