-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox122: Add clonable attribute to ShadowRoot #21948
Conversation
Nice idea! Still, I’d wait for them to rename it since it won’t be shipped in production. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in the BCD call yesterday
Co-authored-by: Florian Scholz <[email protected]>
Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
Summary
Added new attachShadow
clonable
option and ShadowRootclonable
attribute per updated DOM spec:Safari
There’s a mistype in Safari’s implementation: it should be
clonable
per spec, notcloneable
, in both cases. I made itfalse
for now, and I will get back once it’s fixed.WPT agrees: clonable.window.html
Test results and supporting details
How I tested support in the DevTools console:
Related issues