File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,16 @@ Abstract: This spec also proposes an API for web developers to opt-out of this b
1919
2020<pre class=link-defaults>
2121spec:css-box; type:dfn; text:content area
22- spec:css22;
22+ spec:css2;
23+ type:dfn; text:line box
24+ spec:css-sizing-3;
2325 type:property;
2426 text:max-height
2527 text:min-height
2628 text:height
2729 text:max-width
2830 text:min-width
2931 text:width
30- type:dfn; text:line box
3132</pre>
3233<pre class="anchors">
3334spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/;
@@ -75,9 +76,15 @@ For readability they have not been repeated explicitly.
7576<h2 id='description'>
7677Description</h2>
7778
78- Scroll anchoring works by selecting a DOM node (the <dfn export for=scroll-anchoring>anchor node</dfn> )
79+ Scroll anchoring attempts to keep the user's view of the document stable across layout changes.
80+ It works by selecting a DOM node (the <dfn export for=scroll-anchoring>anchor node</dfn> )
7981whose movement is used to determine adjustments to the scroll position.
8082
83+ However, if the scroll container is currently [=scroll snap|snapped=] to an element,
84+ (see [[!CSS-SCROLL-SNAP-1]] )
85+ scroll anchoring is limited to adjustments that would be allowed by [=re-snapping=] .
86+
87+
8188<h3 id='anchor-node-selection'>
8289Anchor Node Selection</h3>
8390
You can’t perform that action at this time.
0 commit comments