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 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.
293
293
294
+
Issue: The text for mandatory and proximity resnapping requirements has some overlap -- try to rewrite this more concisely and without repetition without altering functionality
295
+
294
296
If specified on a non-<a>scroll container</a>,
295
297
this value “traps” descendant boxes’ <a>snap positions</a>,
296
298
preventing them from affecting any ancestor <a>scroll containers</a>.
If specified on a <adata-link-type="dfn" href="#scroll-container" id="ref-for-scroll-container-19">scroll container</a>, the <adata-link-type="dfn" href="#scroll-container" id="ref-for-scroll-container-20">scroll container</a> may <adata-link-type="dfn" href="#snap" id="ref-for-snap-8">snap</a> to a snap position at the termination of a scroll, at the discretion of the UA given the parameters of the scroll.
545
545
<p>If the content changes such that the scroll container would no longer be <adata-link-type="dfn" href="#snap" id="ref-for-snap-9">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.</p>
546
+
<pclass="issue" id="issue-3caf6830"><aclass="self-link" href="#issue-3caf6830"></a> The text for mandatory and proximity resnapping requirements has some overlap -- try to rewrite this more concisely and without repetition without altering functionality</p>
546
547
<p>If specified on a non-<adata-link-type="dfn" href="#scroll-container" id="ref-for-scroll-container-21">scroll container</a>,
547
548
this value “traps” descendant boxes’ <adata-link-type="dfn" href="#scroll-snap-position" id="ref-for-scroll-snap-position-10">snap positions</a>,
548
549
preventing them from affecting any ancestor <adata-link-type="dfn" href="#scroll-container" id="ref-for-scroll-container-22">scroll containers</a>.</p>
<divclass="issue"><b>This spec is currently undergoing major changes in line with the resolutions in <ahref="https://lists.w3.org/Archives/Public/www-style/2015Dec/0048.html">https://lists.w3.org/Archives/Public/www-style/2015Dec/0048.html</a>. During this process it is not safe to assume that the current form will be representative of what it will look like in the future. After the work in process is completed, it will closely resemble <ahref="https://drafts.csswg.org/css-scroll-snap/">this proposal</a>.</b><ahref="#issue-752e30a5"> ↵ </a></div>
1463
1464
<divclass="issue"><ahref="https://lists.w3.org/Archives/Public/www-style/2015Nov/0328.html">Open issue</a> on whether to enhance the scroll-snap-type property for specifying the axis or adding a second property. We have <ahref="https://lists.w3.org/Archives/Public/www-style/2015Dec/0048.html">resolved</a> that this functionality be added once the issue is resolved.<ahref="#issue-7e0cf181"> ↵ </a></div>
1464
1465
<divclass="issue"> Currently considering renaming the values<ahref="#issue-780b32d8"> ↵ </a></div>
1466
+
<divclass="issue"> The text for mandatory and proximity resnapping requirements has some overlap -- try to rewrite this more concisely and without repetition without altering functionality<ahref="#issue-3caf6830"> ↵ </a></div>
1465
1467
<divclass="issue"> Should this be x/y axes, or inline/block? Starting with x/y axes for consistency with padding/area, otherwise a writing mode change would result in a axis mismatch (since padding is physical by default).<ahref="#issue-f7391e31"> ↵ </a></div>
1466
1468
<divclass="issue"> This feature is planned to be removed in the next publication
0 commit comments