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
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•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
| bugherder | ||
Comment 4•2 years ago
|
||
Comment 5•2 years 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•2 years 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•2 years ago
|
Description
•