Intent to Prototype & Ship: trigger-scope

52 views
Skip to first unread message

David Awogbemila

unread,
Dec 9, 2025, 4:41:23 PM (11 hours ago) Dec 9
to blink-dev
Contact emails
awogb...@google.com

Explainer
https://github.com/explainers-by-googlers/scroll-triggered-animations/blob/main/TRIGGER_SCOPE.md

Specification
https://drafts.csswg.org/css-animations-2/#trigger-scope

Summary
trigger-scope gives authors the ability to limit the names of animation triggers declared by trigger-instantiating properties. Trigger-Instantiating properties, such as timeline-trigger, declare names which can be referenced by the animation-trigger property in order to attach animations to triggers. However, these names are global by default (similar to anchor-name) and it is often useful for author to limit the visibility of the names so as to isolate animation-to-trigger interactions.

Blink component
Blink>Animation

Web Feature ID
Missing feature

Motivation
Similar to anchor-scope[1], trigger-instantiating properties need a mechanism for limiting the visibility of the names declared by the trigger-instantiating property. [1] https://drafts.csswg.org/css-anchor-position-1/#anchor-scope

Initial public proposal
No information provided

TAG review
https://github.com/w3ctag/design-reviews/issues/1175

TAG review status
Pending

Risks


Interoperability and Compatibility
No information provided

Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1327)

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/589)

Web developers: No signals

Other signals:

WebView application risks

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


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes

Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/?label=master&label=experimental&aligned&q=trigger-scope (As of this writing, only the parsing tests are present on the dashboard but functional tests[1] are quickly following) [1] https://github.com/web-platform-tests/wpt/pull/56601

Flag name on about://flags
No information provided

Finch feature name
No information provided

Non-finch justification
No information provided

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
https://crbug.com/466134208

Estimated milestones
Shipping on desktop145
Shipping on Android145
Shipping on WebView145


Anticipated spec changes

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

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5152759609425920?gate=5794840308744192

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages