Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No information provided| Shipping on desktop | 144 |
| Shipping on Android | 144 |
| Shipping on WebView | 144 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
No information provided--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACuPfeQQp_NW%3DnoTwk2jpcjGzMb6wFyqj4KGm%3DqpMVyAM767tg%40mail.gmail.com.
This has some risk of being a breaking change, right? How would you characterize that risk? Firefox having this is obviously a good sign, but any other data or arguments on the risk? I imagine SVG use is fairly rare, and any selector mismatch would most likely be a minor formatting issue, right?
LGTM1The WebKit standards position was only filed yesterday, but this seems straightforward and aligns with spec+Firefox, so I don't think we should wait on it. In the unlikely event there is feedback, please ping this thread.
On 11/10/25 7:22 p.m., Rune Lillesveen wrote:
On Sat, Nov 8, 2025 at 12:59 AM Rick Byers <rby...@chromium.org> wrote:This has some risk of being a breaking change, right? How would you characterize that risk? Firefox having this is obviously a good sign, but any other data or arguments on the risk? I imagine SVG use is fairly rare, and any selector mismatch would most likely be a minor formatting issue, right?
An instantiated subtree will no longer be able to do selector matching against the surrounding elements from where it was instantiated from.
In the following case, the use instance of the rect would no longer be red:
<!DOCTYPE html>
<style>
.original rect { fill: red; }
rect { fill: green; }
</style>
<svg>
<defs class="original">
<rect id="r" x="0" y="0" width="100" height="100" />
</defs>
<use href="#r"></use>
</svg>
I think this is unlikely to break real sites.
I spent some time poking through the Firefox bug and its various associated bugs. I think it's a pretty good sign that this landed 8 years ago and the reported regressions were due to implementation bugs that were quickly fixed.
The absence of bugs in Bugzilla isn't a perfect compat signal, but it's at least promising.
In order to use-count this, we would have to run both ways of cascading (or at least selector matching) to detect such cases.
LGTM3 - Risk seems manageable even though it's unfortunately hard to measure. That it has worked for such a long time in Gecko without major push towards something else is a good sign. Good luck. We're all counting on you.
/Daniel
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2bb4f387-a3f5-4838-b23c-8e1817ad0499%40chromium.org.