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 | 145 |
| Shipping on Android | 145 |
| Shipping on WebView | 145 |
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/CAA6pwF59XSB2N2b1bx-26%2BJX2Feunn7Zv7s2aUvD6AkjqfTjmg%40mail.gmail.com.
Hey David,This seems fairly straightforward to me, but I imagine there's probably some developer signals here, right? Somebody who has said why they want this?
On Wednesday, December 10, 2025 at 5:09:57 PM UTC+1 Rick Byers wrote:Hey David,This seems fairly straightforward to me, but I imagine there's probably some developer signals here, right? Somebody who has said why they want this?Hi, it’s me! :)This is needed when applying scroll-triggered animations that use selectors which match multiple elements. Without trigger-scope, the last element that declares the trigger would “win”, thereby breaking all other matched element that use the same name for its trigger. With trigger-scope, the name can be contained to a specific subtree, allowing name reuse.See https://codepen.io/bramus/pen/dPMVoYR/2e5fd8b6a35cc77cfb8faf0f16caf1e3 (Canary with flags) for an example: each image animates individually, each with their own trigger-timeline named --t.Without timeline-trigger scope, all images would animate using the timeline-trigger of the very last element – which is not what you want.tl;dr Without trigger-scope, it would be near impossible for authors to properly implement scroll-triggered animations.
LGTM2
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/452419c1-8b6c-4677-abe0-387ef9991a09n%40chromium.org.
Oh, it was just pointed out that the spec is essentially "TODO: spec this" (at least that's my read on the second Note).
https://drafts.csswg.org/css-animations-2/#trigger-scope
I'd prefer to rescind my LGTM until we at least have a spec PR up to actually define trigger-scope. Can you please prioritize that work?
Thanks for doing the spec work David. The feedback on the PR looks fairly minor and easily addressable, so LGTM2.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/68a49bb8-c004-49b1-9eaf-13ef7c6bff82%40chromium.org.