Skip to content

Commit fcb1215

Browse files
committed
[scroll-animations-1] Add self keyword
#8227 (comment)
1 parent 72189dc commit fcb1215

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scroll-animations-1/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ spec: cssom-view-1; type: dfn;
144144
<pre class="prod">
145145
<<scroll()>> = scroll( [ <<scroller>> || <<axis>> ]? )
146146
<dfn noexport><<axis>></dfn> = block | inline | vertical | horizontal
147-
<dfn noexport><<scroller>></dfn> = root | nearest
147+
<dfn noexport><<scroller>></dfn> = root | nearest | self
148148
</pre>
149149

150150
By default,
@@ -181,6 +181,10 @@ spec: cssom-view-1; type: dfn;
181181
<dt><dfn>root</dfn>
182182
<dd>
183183
Specifies to use the document viewport as the [=scroll container=].
184+
185+
<dt><dfn>self</dfn>
186+
<dd>
187+
Specifies to use the element’s own box as the [=scroll container=].
184188
</dl>
185189

186190
### The {{ScrollTimeline}} Interface ### {#scrolltimeline-interface}

0 commit comments

Comments
 (0)