You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If specified on a <a>scroll container</a>, the <a>scroll container</a> is required to be <a>snapped</a> to a snap position when there are no active scrolling operations. If a reachable snap position exists then the scroll container must <a>snap</a> at the termination of a scroll (if none exist then no <a>snapping</a> occurs).
277
277
278
-
If the content changes such that the scroll container would no longer be <a>snapped</a> (e.g. content is added, moved, deleted, resized) to the same snap position it was snapped to before the content change, the scroll container must be re-snapped. If the same snap position it was snapped to before the content change still exists (e.g. its associated element was not deleted) and is reachable, the scroll container must be re-snapped to that same snap position after the content change.
278
+
If the content changes
279
+
such that the scroll container would no longer be <a>snapped</a>
280
+
(e.g. content is added, moved, deleted, resized)
281
+
to the same snap position it was snapped to before the content change,
282
+
the scroll container must be re-snapped.
283
+
If the same snap position it was snapped to before the content change
284
+
still exists (e.g. its associated element was not deleted) and is reachable,
285
+
the scroll container must be re-snapped to that same snap position
286
+
after the content change.
279
287
280
288
<dt><dfn>proximity</dfn>
281
289
<dd>
282
290
If specified on a <a>scroll container</a>, the <a>scroll container</a> may <a>snap</a> to a snap position at the termination of a scroll, at the discretion of the UA given the parameters of the scroll.
283
291
284
-
If the content changes such that the scroll container would no longer be <a>snapped</a> (e.g. content is added, moved, deleted, resized) to the same snap position it was snapped to before the content change and that same snap position still exists (e.g. its associated element was not deleted) and is reachable, the scroll container must be re-snapped to that same snap position after the content change.
292
+
If the content changes
293
+
such that the scroll container would no longer be <a>snapped</a>
294
+
(e.g. content is added, moved, deleted, resized)
295
+
to the same snap position it was snapped to before the content change
296
+
and that same snap position still exists
297
+
(e.g. its associated element was not deleted) and is reachable,
298
+
the scroll container must be re-snapped to that same snap position
299
+
after the content change.
285
300
286
301
Issue: The text for mandatory and proximity resnapping requirements has some overlap -- try to rewrite this more concisely and without repetition without altering functionality
0 commit comments