Skip to content

Commit 1a453fe

Browse files
committed
[css-scroll-snap] Reword to use less quotation marks. Shift towards the end since its an exception case.
1 parent ff7d097 commit 1a453fe

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

css-scroll-snap/Overview.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -769,11 +769,6 @@ Choosing Snap Positions {#choosing}
769769
and the final snapped scroll position,
770770
subject to the additional constraints listed in this section.
771771

772-
* If the most appropriate <a>snap position</a> is "unreachable",
773-
such that aligning to it would "overscroll" the <a>scroll container</a>,
774-
the <a>scroll container</a> must be scrolled <em>as much as possible</em> in each axis
775-
toward the desired <a>snap position</a>.
776-
777772
* <a>2D snap positions</a> are all-or-nothing;
778773
if a <a>2D snap position</a> is chosen to align to,
779774
the <a>scroll container</a> must set its scroll position
@@ -810,6 +805,12 @@ Choosing Snap Positions {#choosing}
810805

811806
(This implies that a <a>semantic scroll</a> must always ignore the starting <a>snap positions</a>.)
812807

808+
* If the most appropriate <a>snap position</a> is unreachable,
809+
such that aligning to it would require scrolling the <a>scroll container</a>’s viewport
810+
past the edge of its <a>scrollable area</a>,
811+
the <a>scroll container</a> must be scrolled <em>as much as possible</em> in each relevant axis
812+
toward the desired <a>snap position</a>.
813+
813814
* A user agent <em>may</em> want to ignore ''mandatory'' <a>snap positions</a>
814815
that are sufficiently far away from the scroll's end point,
815816
to ensure that users are able to see everything on the page

0 commit comments

Comments
 (0)