Contact
emails
jfern...@igalia.com
Specification
https://drafts.csswg.org/css-animations/#interface-globaleventhandlers
Design
docs
No
information provided
https://developer.mozilla.org/en-US/docs/Web/API/Element/animationcancel_event
Summary
The
CSS Animations Level 1 extends [1] the GlobalEventsHandler
Interface defined in the HTML spec [2], declaring 4 new event
handlers: onanimationstart, onanimationiteration,
onanimationend and onanimationcancel. Only the
'onanimationcancel' event handler has been missing from the
GobalEventsHandler IDL.
[1]https://drafts.csswg.org/css-animations/#interface-globaleventhandlers
[2]https://html.spec.whatwg.org/multipage/webappapis.html#globaleventhandlers
Blink
component
Blink>Animation
Web
Feature ID
animations-css
Motivation
The
'onanimationcancel" event handler should be exposed through the
GlobalEventHandlers interface so that web applications can
detect when the animation stops running in a way that does not
fire an 'animationend' event, such as a change in the
'animation-name' that removes the animation, or the animating
element or one of its ancestors becoming display:none.
Initial
public proposal
No
information provided
TAG
review
No
information provided
TAG
review status
Not
applicable
Risks
Debuggability
No
information provided
Will
this feature be supported on all six Blink platforms (Windows,
Mac, Linux, ChromeOS, Android, and Android WebView)?
No
Yes
There
is 'css/css-animations/idlharness.html' [1] test to check
whether the attribute it's properly exposed in the
globalEventHandler interface.
[1]
https://wpt.fyi/results/css/css-animations/idlharness.html?label=master&label=experimental&aligned
N/A
Finch
feature name
No
information provided
Non-finch
justification
No
need for a finch flag given that the 'cancelanimation' event has
been implemented long ago and this change it's just about
exposing it through the globalEventsHandlers interface
Rollout
plan
Will
ship enabled for all users
Requires
code in //chrome?
False
Tracking
bug
https://issues.chromium.org/issues/464010037
Estimated
milestones
| Shipping on desktop |
145 |
| Shipping on Android |
145 |
| Shipping on WebView |
145 |
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/5160464445210624?gate=6492452351508480