-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Chrome 133 and Safari 26 support ShadowRoot referenceTarget behind flags
#28570
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Claas Augner <[email protected]>
Co-authored-by: Claas Augner <[email protected]>
Co-authored-by: Claas Augner <[email protected]>
Co-authored-by: Claas Augner <[email protected]>
Co-authored-by: Claas Augner <[email protected]>
Co-authored-by: Claas Augner <[email protected]>
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
ShadowRoot referenceTarget
caugner
left a comment
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.
According to https://chromestatus.com/feature/5188237101891584, this feature was only in Origin Trial from Chrome 133 to 135. Can you clarify if these features landed unconditionally in Chrome Stable?
They’re in current Chrome (143) behind the experimental web platform features flag. I’m not certain, but my understanding is that the feature was never backed out. |
ShadowRoot referenceTargetShadowRoot referenceTarget behind flags
|
There’s also experimental implementation in Safari as of 26. I added in the A Firefox implementation is also currently being reviewed, though it hasn’t landed yet, so don’t have a version number to add yet. |
caugner
left a comment
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.
It looks like these landed unconditionally in Firefox 144.
| "flags": [ | ||
| { | ||
| "type": "preference", | ||
| "name": "Experimental web platform features", |
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.
| "name": "Experimental web platform features", | |
| "name": "#enable-experimental-web-platform-features", |
| "firefox": { | ||
| "version_added": false | ||
| }, |
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.
It seems like this landed in Firefox 144, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1981341
| "firefox": { | |
| "version_added": false | |
| }, | |
| "firefox": { | |
| "version_added": "144" | |
| }, |
(There seems to be a related bug though: https://bugzilla.mozilla.org/show_bug.cgi?id=1989323)
| "flags": [ | ||
| { | ||
| "type": "preference", | ||
| "name": "Experimental web platform features", |
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.
| "name": "Experimental web platform features", | |
| "name": "#enable-experimental-web-platform-features", |
| "ie": { | ||
| "version_added": false | ||
| }, |
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.
Interesting, I would have expected this to have been removed automatically before. 🤔
| "firefox": { | ||
| "version_added": false | ||
| }, |
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.
dito
| "firefox": { | |
| "version_added": false | |
| }, | |
| "firefox": { | |
| "version_added": "144" | |
| }, |
Summary
Adds the new
referencetargetattribute to<template>and property to the ShadowRoot API.Supporting details