Skip to content

Commit 64131f7

Browse files
committed
[css-scroll-snap] Clarify that 2-axis snapping does have *some* dependence between the two axises. Fixes #950.
1 parent c07d0c6 commit 64131f7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-scroll-snap/Overview.bs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,13 @@ Scoping Valid Snap Positions to Visible Boxes
604604
we can default to a gridded behavior
605605
and introduce a switch to get smarter behavior later.)
606606
607-
607+
608+
Note: Although ''scroll-snap-type: both'' evaluates [=snap positions=] independently in each axis,
609+
choosing of a [=snap position=] in one axis
610+
may be influenced by [=snap positions=] in the other axis.
611+
For example, snapping in one axis
612+
may push off-screen the [=snap area=] that the other axis would otherwise align to,
613+
making its [=snap position=] invalid and therefore unchooseable.
608614

609615

610616
Snapping Boxes that Overflow the Scrollport

0 commit comments

Comments
 (0)