You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an animation timeline; and by defining a new type of animation timeline: a <adata-link-type="dfn" href="#scroll-timeline" id="ref-for-scroll-timeline-1">scroll timeline</a>.</p>
377
378
<p>This specification defines both programming interfaces for interacting with these
378
379
concepts, as well as CSS markup.</p>
379
-
<p>The behaviour of the CSS markup is described in terms of the programming APIs.
380
+
<p>The behaviour of the CSS markup is described in terms of the programming interfaces.
380
381
This is not intended to exclude user agents that do not support script. Such user
381
382
agents are welcome to support the CSS markup, and give it the same behaviour as-if
382
-
the underlying programming APIs were in place.</p>
383
+
the underlying programming interfaces were in place.</p>
<p>A <dfnclass="dfn-paneled" data-dfn-type="dfn" data-noexport="" id="scroll-timeline">scroll timeline</dfn> is an <codeclass="idl"><adata-link-type="idl" href="https://www.w3.org/TR/web-animations/#animationtimeline">AnimationTimeline</a></code> whose time values are determined
781
782
not by wall-clock time, but by the progress of scrolling in a <adata-link-type="dfn" href="https://drafts.csswg.org/css-overflow-3/#scroll-container">scroll container</a>.</p>
782
783
<p>A <codeclass="idl"><adata-link-type="idl" href="#scrolltimeline" id="ref-for-scrolltimeline-2">ScrollTimeline</a></code> must have a <codeclass="idl"><adata-link-type="idl" href="#dom-animationtimeline-trigger" id="ref-for-dom-animationtimeline-trigger-2">trigger</a></code>, it must be of type <codeclass="idl"><adata-link-type="idl" href="#scrolltrigger" id="ref-for-scrolltrigger-8">ScrollTrigger</a></code>, and the trigger’s <codeclass="idl"><adata-link-type="idl" href="#dom-scrolltrigger-kind" id="ref-for-dom-scrolltrigger-kind-4">kind</a></code> must be <codeclass="idl"><adata-link-type="idl" href="#dom-scrolltriggerkind-range" id="ref-for-dom-scrolltriggerkind-range-1">range</a></code>.</p>
783
-
<p>The scroll container whose scrolling drives the timeline is the trigger’s <codeclass="idl"><adata-link-type="idl" href="#dom-scrolltrigger-scrollsource" id="ref-for-dom-scrolltrigger-scrollsource-14">scrollSource</a></code>. The direction of scroling that drives the timeline is the
784
+
<p>The scroll container whose scrolling drives the timeline is the trigger’s <codeclass="idl"><adata-link-type="idl" href="#dom-scrolltrigger-scrollsource" id="ref-for-dom-scrolltrigger-scrollsource-14">scrollSource</a></code>. The direction of scrolling that drives the timeline is the
0 commit comments