Contact emailsawogbem...@google.com

Explainerhttps://github.com/DavMila/explainer-animation.progress

Specification
https://drafts.csswg.org/web-animations-2/#the-overall-progress-of-an-animation

Summary

This feature adds an "overallProgress" property to the JavaScript class
Animation[1]. The goal of this property is to provide authors a convenient
and consistent representation of how far along an animation has advanced
across its iterations and regardless of the nature of its timeline[2]. [1]
https://developer.mozilla.org/en-US/docs/Web/API/Animation [2]
https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline


Blink componentBlink>Animation
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EAnimation>

TAG reviewhttps://github.com/w3ctag/design-reviews/issues/994

TAG review statusIssues addressed

Risks


Interoperability and Compatibility

None


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

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

*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?

None


Debuggability

Like other fields in the Animation class, overallProgress can be inspected
with DevTools.


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
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

https://wpt.fyi/results/web-animations/interfaces/Animation/overallProgress.tentative.html
https://wpt.fyi/results/web-animations/interfaces/Animation/scroll-timeline-overallProgress.tentative.html

Note that those test results might be showing as failing for a brief period
because the feature was renamed from "progress" to "overallProgress"
recently, and while the WPTs have immediately picked up this change, the
version of Chrome against which they are run has yet to be similarly
updated. However, you can see from the history
<https://wpt.fyi/results/web-animations/interfaces/Animation?run_id=5103325284663296>
that past runs of the tests were passing: progress.tentative.html
<https://wpt.fyi/results/web-animations/interfaces/Animation/progress.tentative.html?run_id=5103325284663296>
&
scroll-timeline-progress.tentative.html
<https://wpt.fyi/results/web-animations/interfaces/Animation/scroll-timeline-progress.tentative.html?run_id=5103325284663296>
.

Flag name on about://flagsAnimationProgressAPI

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Tracking bughttps://crbug.com/40914396

Sample links
https://codepen.io/bramus/pen/BaXwmyZ
https://codepen.io/awogbemila/pen/oNKpXWy
https://davmila.github.io/demo-animation.progress/tda/index.html
https://davmila.github.io/demo-animation.progress/sda/index.html

Estimated milestones

No milestones specified


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).


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

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
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+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAA6pwF6%2BWcXuOkFBJW7pUwz%2BGxiT8kzF7LoJA%2BfuturhZRtNWQ%40mail.gmail.com.

Reply via email to