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
19
19
20
20
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
32
33
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
76
77
Description
77
78
78
- Scroll anchoring works by selecting a DOM node (the anchor node )
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 anchor node )
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
82
89
Anchor Node Selection
83
90
You can’t perform that action at this time.
0 commit comments