Failing WPT shadow-dom/shadow-root-clonable.html
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: twisniewski, Assigned: avandolder)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, Whiteboard: [wpt])
Attachments
(1 file)
See https://wpt.fyi/results/shadow-dom/shadow-root-clonable.html
This is now listed on the interop2024 dashboard.
Updated•4 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Updated•3 months ago
|
Pushed by avandolder@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d6cda8dd7c1 Add shadowrootclonable attribute support. r=webidl,emilio
Comment 3•3 months ago
|
||
bugherder |
Comment 4•3 months ago
|
||
Comment 5•1 month ago
•
|
||
MDN Docs work for this can be tracked in https://github.com/mdn/content/issues/33160
I have a few questions about the purpose of this feature here - https://github.com/mdn/content/pull/33325#discussion_r1584290677 - would appreciate advice. Specifically we have lots of docs explaining that shadow root is clonable or not-clonable, but nothing on the implications of this - i.e. what it means for web components. Advice welcome.
Somewhat related, it is also clear what delgatedFocus does for a shadow root if granted - it gives focus to the first focusable element in the shadow DOM when you click a non-focusable element.
But what gets the focus if this is not set? I think in this case the focus remains with the original item unless you click a focusable element.
Lastly, HTMLTemplateElement.shadowRootMode obviously reflects the values from the associated <template>
.
- The docs indicate that you can't change the value after parsing - is that true? (i.e. - the value is effectively readonly after parsing - even though the property is not marked as read only in the IDl).
- Can you create a new shadow dom by creating or cloning a HTMLTemplateElement with this property set?
Comment 6•17 days ago
|
||
FYI, marking docs work as complete. The questions above have largely been answered, and anything outstanding is being looked at in related PRs.
Updated•17 days ago
|
Description
•