Skip to content

Commit f721376

Browse files
committed
Amend the overly-large elements section to handle nested scroll areas.
1 parent 790d2a6 commit f721376

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

css-scroll-snap/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-alignm
605605
correspond to the x and y axes, and not the y and x axes, respectively.
606606

607607
If the <a>snap area</a> is larger than the <a>snap viewport</a> in a particular axis,
608+
and there are no other <a>snap areas</a> within the <a>snap viewport</a>,
608609
then any scroll position in which the <a>snap area</a> covers the <a>snap viewport</a>
609610
is a valid <a>snap position</a> in that axis.
610611
The UA may use the specified alignment as a more precise target

0 commit comments

Comments
 (0)