Skip to content

Commit 81de5df

Browse files
committed
[css-scroll-snap-1] Clarify overlarge snapping example. w3c#6863
1 parent ad4bda1 commit 81de5df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

css-scroll-snap-1/Overview.bs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,14 @@ Snapping Boxes that Overflow the Scrollport</h4>
850850
Because the first and last snap positions are part of ranges taller than the viewport,
851851
the viewer is allowed to scroll freely
852852
between the top and bottom of each range.
853+
854+
Any position in that range is a valid [=snap position=],
855+
which can be snapped to when it is the nearest position;
856+
however, if the element is targetted directly
857+
(such as by a fragment ID or a scrolling API),
858+
the UA will land on the bolded position,
859+
which corresponds to the ideal requested alignment
860+
of the element’s [=snap area=] within the [=snapport=].
853861
</figcaption>
854862
</figure>
855863

0 commit comments

Comments
 (0)