diff --git a/web-animations-2/Overview.bs b/web-animations-2/Overview.bs index 9e07f17782d..086673ccf28 100644 --- a/web-animations-2/Overview.bs +++ b/web-animations-2/Overview.bs @@ -969,13 +969,13 @@ Add the following sentence: -### Calculating the progress of an animation ### {#the-progress-of-an-animation} +### Calculating the overall progress of an animation ### {#the-overall-progress-of-an-animation} - An animation's progress is the ratio of its + An animation's overallProgress is the ratio of its [=animation/current time=] to its [=associated effect end=]. -
- progress = min(max([=animation/current time=] / |animation|'s [=associated effect end=], 0), 1)
+ overallProgress = min(max([=animation/current time=] / |animation|'s [=associated effect end=], 0), 1)
@@ -2425,7 +2425,7 @@ Update the attribute type for currentTime.
Animation
interface[Exposed=Window] @@ -2434,7 +2434,7 @@ partial interface Animation { attribute CSSNumberish? currentTime; attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart; attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd; - readonly attribute double? progress; + readonly attribute double? overallProgress; };@@ -2480,8 +2480,8 @@ Add: > When reading the attribute, the returned value is either a > {{TimelineRangeOffset}} or the {{DOMString}} "normal". > -> : progress -> :: Specifies the [=animation/progress=] of the animation as a proportion of its +> : overallProgress +> :: Specifies the [=animation/overallProgress=] of the animation as a proportion of its > [=associated effect end=].