Skip to content

Commit bf39d66

Browse files
committed
[css-scroll-snap] More clearly specify handling of zero snap positions.
1 parent d3894ce commit bf39d66

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

css-scroll-snap/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,9 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#snap-type}
270270
is guaranteed to rest at a <a>snap position</a>
271271
when there are no active scrolling operations.
272272
That is, it must come to rest at a <a>snap position</a>
273-
at the termination of a scroll, if possible.
273+
at the termination of a scroll, if any exist.
274+
(If none exist, then no snapping occurs.)
275+
274276
If the content changes such that the visual viewport
275277
would no longer rest at a <a>snap position</a>
276278
(e.g. content is added, moved, deleted, resized),

0 commit comments

Comments
 (0)