File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ spec: cssom-view-1; type: dfn;
147147 <pre class="prod">
148148 <<scroll()>> = scroll( [ <<scroller>> || <<axis>> ]? )
149149 <dfn noexport><<axis>></dfn> = block | inline | vertical | horizontal
150- <dfn noexport><<scroller>></dfn> = root | nearest
150+ <dfn noexport><<scroller>></dfn> = root | nearest | self
151151 </pre>
152152
153153 By default,
@@ -184,6 +184,12 @@ spec: cssom-view-1; type: dfn;
184184 <dt> <dfn>root</dfn>
185185 <dd>
186186 Specifies to use the document viewport as the [=scroll container=] .
187+
188+ <dt> <dfn>self</dfn>
189+ <dd>
190+ Specifies to use the element’s own [=principal box=] as the [=scroll container=] .
191+ If the [=principal box=] is not a [=scroll container=] ,
192+ then the [=scroll progress timeline=] is [=inactive timeline|inactive=] .
187193 </dl>
188194
189195 Each use of ''scroll()'' corresponds to its own instance of {{ScrollTimeline}}
You can’t perform that action at this time.
0 commit comments