-
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
Add shadowrootmode in Firefox preview #21815
Conversation
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.
will be enabled in Firefox 122.
Can you please provide a source for this information?
Currently it appears to be behind the "dom.webcomponents.shadowdom.declarative.enabled" preference: https://searchfox.org/mozilla-central/source/dom/webidl/HTMLTemplateElement.webidl#17
In the Bugzilla:
This task is part of the Firefox 122 release project.
It’s behind the preference, but it will be set to |
@Elchi3 is correct. This feature is Nightly only, per this pref: https://searchfox.org/mozilla-central/rev/9137f80064364a41a1de394af4ce05dffdbf68e6/modules/libpref/init/StaticPrefList.yaml#4551. See also Bug 1870052 - |
Sorry, I guess I got it wrong. I’ll change it to |
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
Declarative Shadow DOM support via the
shadowrootmode
attribute for the<template>
element will be shipped in Firefox 122 behind the flag, disabled by default for now.Test results and supporting details