Intent to Implement and Ship: Animation.pending

46 views
Skip to first unread message

Kevin Ellis

unread,
May 1, 2019, 2:08:18 PM5/1/19
to blink-dev, Stephen McGruer
kev...@chromium.org https://developer.mozilla.org/en-US/docs/Web/API/Animation/pending Specification: https://drafts.csswg.org/web-animations/#the-animation-interface https://chromium-review.googlesource.com/c/chromium/src/+/1588283 Add the pending attribute to the web animations API in compliance with the web animation spec (https://drafts.csswg.org/web-animations/#the-animation-interface). A pending animation is waiting on an asynchronous operation that affects the play state. Adding support for this attribute does not affect the rendering or timing of animations, but simply exposes the signal. The attribute is used in testing and adding support fixes 30 WPT test failures. Adding the Animation.pending attribute fixes 30 WPT test failures for web animations.
Animation.pending has already shipped with Firefox and is under development in Safari. Firefox: Shipped (https://wpt.fyi/results/web-animations/interfaces/Animation/pending.html) Edge: No public signals Safari: In development (https://wpt.fyi/results/web-animations/interfaces/Animation/pending.html) Web developers: No signals
Yes Yes Animation.pending is covered by WPT tests in: * web-animations/interfaces/Animation * web-animations/timing-model/animations Lack of support for Animation.pending is a significant source of web animation tests failures (tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=772407). https://bugs.chromium.org/p/chromium/issues/detail?id=827630 https://wpt.fyi/results/web-animations/interfaces/Animation https://wpt.fyi/results/web-animations/timing-model/animations https://www.chromestatus.com/features/4843845109940224

Chris Harrelson

unread,
May 2, 2019, 10:40:57 AM5/2/19
to Kevin Ellis, blink-dev, Stephen McGruer
LGTM1

--
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 on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAE1FVESjKre0WBgV-Yd-G%2BkheFdbrU7DMOtC97yQQtY8TdR1rA%40mail.gmail.com.

Daniel Bratell

unread,
May 2, 2019, 12:17:32 PM5/2/19
to Kevin Ellis, Chris Harrelson, blink-dev, Stephen McGruer
LGTM2

/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_uojekj6TRrCDY4FPvwd_B_ZavL90977nOwNbeANhyXg%40mail.gmail.com.



--
/* Opera Software, Linköping, Sweden: CET (UTC+1) */

Yoav Weiss

unread,
May 2, 2019, 2:51:02 PM5/2/19
to Daniel Bratell, Kevin Ellis, Chris Harrelson, blink-dev, Stephen McGruer
Reply all
Reply to author
Forward
0 new messages