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
<p>Issue: Decide between “scroll position” and “scroll offset” as both are used randomly interchangeably.
41
-
42
40
<p>This is a list of <ahref="diff">differences</a>
43
41
between the <ahref="http://www.w3.org/TR/css-snappoints-1/">CSS Scroll Snap Module</a> as maintained by Matt Rakow
44
42
and the <ahref="http://drafts.csswg.org/css-scroll-snap/">CSS Scroll Snap Module Change Proposal</a> maintained by Tab and fantasai.
@@ -340,6 +338,7 @@ <h2>Specific Changes</h2>
340
338
<blockquote>
341
339
<p>If the content <ins>or layout of the scroll container</ins> changes e.g. content is added, moved, deleted, resized), the UA must re-evaluate, and potentially re-snap if necessary, the resulting scroll offset once the positions of the content have restabilized. <ins>This can result in no snapping, (e.g. if there are no nearby snap positions for a proximitiy-snapping scroll container).</ins> However, if there was a previously-snapped snap position (associated with the same element) that still exists after such changes, the UA must remain snapped to it<ins>—even if the changes would have placed a different snap position closer to the current scroll offset</ins>. Otherwise, the scroll container must be re-snapped as if the user had scrolled to its current scroll offset (as an explicit scroll, if no other scroll operation is active).
the scroll container may snap to a valid snap position at the termination of a scroll<ins>,</ins> at the discretion of the UA given the parameters of the scroll.
656
657
</blockquote>
657
-
<li>This addition clarifies the nature of relevant changes:
658
-
<blockquote>
659
-
If the content <ins>or layout of the scroll container</ins> changes (e.g. content is added, moved, deleted, resized),
660
-
</blockquote>
661
-
<li>This addition
662
658
</ul>
663
659
</dd>
664
660
<dtid="change-ack">Acknowledgements Update
665
661
<dd>
666
662
We've added a list of the people who have contributed the spec,
667
663
and noted that their proposals were mostly accepted rather than mostly ignored.
0 commit comments