File tree 1 file changed +10
-3
lines changed
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
19
19
20
20
<pre class=link-defaults>
21
21
spec:css-box; type:dfn; text:content area
22
- spec:css22;
22
+ spec:css2;
23
+ type:dfn; text:line box
24
+ spec:css-sizing-3;
23
25
type:property;
24
26
text:max-height
25
27
text:min-height
26
28
text:height
27
29
text:max-width
28
30
text:min-width
29
31
text:width
30
- type:dfn; text:line box
31
32
</pre>
32
33
<pre class="anchors">
33
34
spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/;
@@ -75,9 +76,15 @@ For readability they have not been repeated explicitly.
75
76
<h2 id='description'>
76
77
Description</h2>
77
78
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> )
79
81
whose movement is used to determine adjustments to the scroll position.
80
82
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
+
81
88
<h3 id='anchor-node-selection'>
82
89
Anchor Node Selection</h3>
83
90
You can’t perform that action at this time.
0 commit comments