You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-scroll-snap/Overview.bs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -686,11 +686,13 @@ Snapping Boxes that Overflow the Scrollport</h4>
686
686
</figure>
687
687
688
688
Note: If the author had instead set mandatory snap positions
689
-
on the headings of each section
689
+
on the <em>headings</em> of each section
690
690
(rather than the sections themselves),
691
691
the contents of the first and fifth sections
692
692
would be partially inaccessible to the user,
693
693
as the heading snap area does not extend to cover the whole section.
694
+
This is why it's a bad idea to use mandatory snap positions
695
+
on elements that might be widely spaced apart.
694
696
</div>
695
697
696
698
@@ -1048,4 +1050,4 @@ Changes {#changes}
1048
1050
<li>Renamed 'scroll-padding' to 'scroll-padding' and extended its uses.
1049
1051
<li>Removed renaming issues because nobody came up with a better alternative to ''scroll-snap-type: mandatory | proximity'' or ''scroll-snap-stop: normal''.
0 commit comments