Skip to content

Commit 26fe81a

Browse files
committed
[css-scroll-snap-1] Add example from issue. w3c#4651
1 parent 68ce422 commit 26fe81a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

css-scroll-snap-1/Overview.bs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@ Re-snapping After Layout Changes</h4>
415415
then if one of them is focused or targetted,
416416
the [=scroll container=] must re-snap to that one
417417
and otherwise which one to re-snap to is UA-defined.
418+
(The UA may, for example, track which element is snapped
419+
as layout shifts align and de-align
420+
the [=snap positions=] of other elements.)
418421

419422
Scrolling required by a re-snap operation to a new or different box
420423
must behave and animate the same way as
@@ -1234,7 +1237,11 @@ Changes Since 31 January 2019 CR {#changes-20190131}
12341237
and their [=snap positions=] no longer coincide,
12351238
then if one of them is focused or targetted,
12361239
the [=scroll container=] must re-snap to that one
1237-
and otherwise which one to re-snap to is UA-defined.</ins></p>
1240+
and otherwise which one to re-snap to is UA-defined.
1241+
(The UA may, for example, track which element is snapped
1242+
as layout shifts align and de-align
1243+
the [=snap positions=] of other elements.)
1244+
</ins></p>
12381245
</blockquote>
12391246
<li id="change-2019-resnap-animation">
12401247
Require re-snapping to a new element to animate the same way

0 commit comments

Comments
 (0)