Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scroll-animations-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ spec: cssom-view-1; type: dfn;
<pre class="prod">
<<scroll()>> = scroll( [ <<scroller>> || <<axis>> ]? )
<dfn noexport><<axis>></dfn> = block | inline | vertical | horizontal
<dfn noexport><<scroller>></dfn> = root | nearest
<dfn noexport><<scroller>></dfn> = root | nearest | self
</pre>

By default,
Expand Down Expand Up @@ -184,6 +184,12 @@ spec: cssom-view-1; type: dfn;
<dt><dfn>root</dfn>
<dd>
Specifies to use the document viewport as the [=scroll container=].

<dt><dfn>self</dfn>
<dd>
Specifies to use the element’s own [=principal box=] as the [=scroll container=].
If the [=principal box=] is not a [=scroll container=],
then the [=scroll progress timeline=] is [=inactive timeline|inactive=].
</dl>

Each use of ''scroll()'' corresponds to its own instance of {{ScrollTimeline}}
Expand Down