Chrome 133, Safari 26, and Firefox 149 support ShadowRoot referenceTarget behind flags#28570
Chrome 133, Safari 26, and Firefox 149 support ShadowRoot referenceTarget behind flags#28570
ShadowRoot referenceTarget behind flags#28570Conversation
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
|
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.
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.
It looks like these landed unconditionally in Firefox 144.
This is behind a runtime flag in Firefox: Also you can check this test https://wpt.live/shadow-dom/reference-target/tentative/reference-target-basics.html with the flag enabled and disabled, to see what happens. The Firefox prototype implementation for this feature has been completed a few days ago, so people can start playing with it there (the same than chromium and webkit). All of them behind a runtime flag. |
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
ShadowRoot referenceTarget behind flagsShadowRoot referenceTarget behind flags
Summary
Adds the new
referencetargetattribute to<template>and property to the ShadowRoot API.Supporting details