@@ -969,35 +969,35 @@ Add the following sentence:
969
969
970
970
</div>
971
971
972
- ### Calculating the progress of an animation ### {#the-progress-of-an-animation}
972
+ ### Calculating the overall progress of an animation ### {#the-overall -progress-of-an-animation}
973
973
974
- An animation's <dfn export for=animation>progress </dfn> is the ratio of its
974
+ An animation's <dfn export for=animation>overallProgress </dfn> is the ratio of its
975
975
[=animation/current time=] to its [=associated effect end=] .
976
976
977
- <div algorithm="calculate animation progress">
978
- The [=animation/progress =] of an [=animation=] , |animation|, is calculated as follows:
977
+ <div algorithm="calculate animation overall progress">
978
+ The [=animation/overallProgress =] of an [=animation=] , |animation|, is calculated as follows:
979
979
980
980
<dl class=switch>
981
981
982
982
: If <em> any</em> of the following are true:
983
983
* |animation| does not have an [=animation/associated effect=] , or
984
984
* |animation|'s [=animation/current time=] is an [=unresolved=] time value,
985
985
::
986
- |animation|'s [=animation/progress =] is null.
986
+ |animation|'s [=animation/overallProgress =] is null.
987
987
: If |animation|'s [=associated effect end=] is zero,
988
988
::
989
989
: If |animation|'s [=animation/current time=] is negative,
990
- :: |animation|'s [=animation/progress =] is zero.
990
+ :: |animation|'s [=animation/overallProgress =] is zero.
991
991
992
992
: Otherwise,
993
- :: |animation|'s [=animation/progress =] is one.
993
+ :: |animation|'s [=animation/overallProgress =] is one.
994
994
: If |animation|'s [=associated effect end=] is infinite,
995
995
::
996
- |animation|'s [=animation/progress =] is zero.
996
+ |animation|'s [=animation/overallProgress =] is zero.
997
997
: Otherwise,
998
998
::
999
999
<blockquote>
1000
- <code> <a for="animation">progress </a> = min(max([=animation/current time=] / |animation|'s [=associated effect end=] , 0), 1)
1000
+ <code> <a for="animation">overallProgress </a> = min(max([=animation/current time=] / |animation|'s [=associated effect end=] , 0), 1)
1001
1001
</code>
1002
1002
</blockquote>
1003
1003
@@ -2425,7 +2425,7 @@ Update the attribute type for currentTime.
2425
2425
<h3 id="the-animation-interface">The <code>Animation</code> interface</h3>
2426
2426
2427
2427
Update the startTime and currentTime of the Animation interface, and add
2428
- rangeStart, rangeEnd, and progress as follows:
2428
+ rangeStart, rangeEnd, and overallProgress as follows:
2429
2429
2430
2430
<pre class="idl">
2431
2431
[Exposed=Window]
@@ -2434,7 +2434,7 @@ partial interface Animation {
2434
2434
attribute CSSNumberish? currentTime;
2435
2435
attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart;
2436
2436
attribute (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd;
2437
- readonly attribute double? progress ;
2437
+ readonly attribute double? overallProgress ;
2438
2438
};
2439
2439
</pre>
2440
2440
@@ -2480,8 +2480,8 @@ Add:
2480
2480
> When reading the attribute, the returned value is either a
2481
2481
> {{TimelineRangeOffset}} or the {{DOMString}} "normal".
2482
2482
>
2483
- > : <dfn attribute for=Animation>progress </dfn>
2484
- > :: Specifies the [=animation/progress =] of the <a>animation</a> as a proportion of its
2483
+ > : <dfn attribute for=Animation>overallProgress </dfn>
2484
+ > :: Specifies the [=animation/overallProgress =] of the <a>animation</a> as a proportion of its
2485
2485
> [=associated effect end=] .
2486
2486
</div>
2487
2487
0 commit comments