File tree 2 files changed +11
-1
lines changed 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ spec: cssom-view-1; type: dfn;
270
270
or if there is no [=scrollable overflow=] ,
271
271
then the {{ScrollTimeline}} is [=inactive timeline|inactive=] .
272
272
273
- A {{ScrollTimeline}} ’s {{EffectTiming /duration}} is 100%.
273
+ A {{ScrollTimeline}} ’s {{AnimationTimeline /duration}} is 100%.
274
274
275
275
## Named Scroll Progress Timelines ## {#scroll-timelines-named}
276
276
Original file line number Diff line number Diff line change @@ -2178,13 +2178,23 @@ Items sorted earlier are executed before those sorted later.
2178
2178
<pre class="idl">
2179
2179
[Exposed=Window]
2180
2180
partial interface AnimationTimeline {
2181
+ readonly attribute CSSNumberish? currentTime;
2181
2182
readonly attribute CSSNumberish? duration;
2182
2183
Animation play (optional AnimationEffect? effect = null);
2183
2184
};
2184
2185
</pre>
2185
2186
2186
2187
<div class='attributes'>
2187
2188
2189
+ Update the attribute type for currentTime.
2190
+
2191
+ : <dfn attribute for=AnimationTimeline>currentTime</dfn>
2192
+ :: Returns the <a lt="timeline current time">current time</a> for this
2193
+ timeline or <code> null</code> if this timeline is
2194
+ <a lt="inactive timeline">inactive</a> . The value is expressed as a
2195
+ percentage for a [=progress-based timeline=] , or as a double in
2196
+ milliseconds otherwise.
2197
+
2188
2198
: <dfn attribute for=AnimationTimeline>duration</dfn>
2189
2199
:: Returns the <a lt="timeline duration">duration</a> for this timeline.
2190
2200
You can’t perform that action at this time.
0 commit comments