@@ -410,6 +410,11 @@ Re-snapping After Layout Changes</h4>
410
410
(e.g. its associated element was not deleted),
411
411
the scroll container must be re-snapped to that same snap position
412
412
after the content change.
413
+ If multiple boxes were [=snapped=] before
414
+ and their [=snap positions=] no longer coincide,
415
+ then if one of them is focused or targetted,
416
+ the [=scroll container=] must re-snap to that one
417
+ and otherwise which one to re-snap to is UA-defined.
413
418
414
419
Scrolling required by a re-snap operation to a new or different box
415
420
must behave and animate the same way as
@@ -1216,6 +1221,21 @@ Changes Since 31 January 2019 CR {#changes-20190131}
1216
1221
<li id="change-2019-clarify-writing-mode">
1217
1222
Specified which writing mode is used to resolve 'scroll-snap-align' .
1218
1223
(<a href="https://github.com/w3c/csswg-drafts/issues/3815">Issue 3815</a> )
1224
+ <li id="change-2019-resnap-multiple">
1225
+ Define requirements for re-snapping when multiple elements coincide.
1226
+ (<a href="https://github.com/w3c/csswg-drafts/issues/4651">Issue 4651</a> )
1227
+ <blockquote>
1228
+ <p> If the <a>scroll container</a> was <a>snapped</a> before the content change
1229
+ and that same <a>snap position</a> still exists
1230
+ (e.g. its associated element was not deleted),
1231
+ the scroll container must be re-snapped to that same snap position
1232
+ after the content change.
1233
+ <ins> If multiple boxes were [=snapped=] before
1234
+ and their [=snap positions=] no longer coincide,
1235
+ then if one of them is focused or targetted,
1236
+ the [=scroll container=] must re-snap to that one
1237
+ and otherwise which one to re-snap to is UA-defined.</ins></p>
1238
+ </blockquote>
1219
1239
<li id="change-2019-resnap-animation">
1220
1240
Require re-snapping to a new element to animate the same way
1221
1241
as any other scroll-into-view operation.
0 commit comments