File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 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;
270270 or if there is no [=scrollable overflow=] ,
271271 then the {{ScrollTimeline}} is [=inactive timeline|inactive=] .
272272
273- A {{ScrollTimeline}} ’s {{EffectTiming /duration}} is 100%.
273+ A {{ScrollTimeline}} ’s {{AnimationTimeline /duration}} is 100%.
274274
275275## Named Scroll Progress Timelines ## {#scroll-timelines-named}
276276
Original file line number Diff line number Diff line change @@ -2178,13 +2178,23 @@ Items sorted earlier are executed before those sorted later.
21782178<pre class="idl">
21792179[Exposed=Window]
21802180partial interface AnimationTimeline {
2181+ readonly attribute CSSNumberish? currentTime;
21812182 readonly attribute CSSNumberish? duration;
21822183 Animation play (optional AnimationEffect? effect = null);
21832184};
21842185</pre>
21852186
21862187<div class='attributes'>
21872188
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+
21882198: <dfn attribute for=AnimationTimeline>duration</dfn>
21892199:: Returns the <a lt="timeline duration">duration</a> for this timeline.
21902200
You can’t perform that action at this time.
0 commit comments