Skip to content

Commit 7e93d06

Browse files
committed
[css-scroll-snap] Step-by-step de-duping of re-snapping requirements. Step 2: Merge re-snap to continuously-existing snap position requirement.
1 parent 0e7b8fa commit 7e93d06

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

css-scroll-snap/Overview.bs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
334334
content in between can become inaccessible
335335
in cases where it is longer than the screen.
336336

337-
<!-- mandatory -->
337+
<!-- mandatory and proximity -->
338338
If the content changes
339339
such that the scroll container would no longer be <a>snapped</a>
340340
(e.g. content is added, moved, deleted, resized)
@@ -350,10 +350,6 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
350350
(e.g. content is added, moved, deleted, resized)
351351
to the same snap position it was snapped to before the content change,
352352
the scroll container must be re-snapped.
353-
If the same snap position it was snapped to before the content change
354-
still exists (e.g. its associated element was not deleted) and is reachable,
355-
the scroll container must be re-snapped to that same snap position
356-
after the content change.
357353

358354
<!--
359355
████████ ███ ████████ ████████ ████ ██ ██ ██████

0 commit comments

Comments
 (0)