Closed Bug 1258948 Opened 10 years ago Closed 7 years ago

Forbid details and summary to be a shadow root

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: TYLin, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.
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
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: