File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -338,19 +338,14 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
338
338
If the content changes
339
339
such that the scroll container would no longer be <a>snapped</a>
340
340
(e.g. content is added, moved, deleted, resized)
341
- to the same snap position it was snapped to before the content change
341
+ the UA must re-evaluate the resulting <a>scroll position</a> ,
342
+ and re-snap if required.
343
+ If the <a>scroll container</a> was <a>snapped</a> before the content change
342
344
and that same snap position still exists
343
345
(e.g. its associated element was not deleted) and is reachable,
344
346
the scroll container must be re-snapped to that same snap position
345
347
after the content change.
346
348
347
- <!-- proximity -->
348
- If the content changes
349
- such that the scroll container would no longer be <a>snapped</a>
350
- (e.g. content is added, moved, deleted, resized)
351
- to the same snap position it was snapped to before the content change,
352
- the scroll container must be re-snapped.
353
-
354
349
<!--
355
350
████████ ███ ████████ ████████ ████ ██ ██ ██████
356
351
██ ██ ██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██
You can’t perform that action at this time.
0 commit comments