Skip to content

Commit 87b2687

Browse files
committed
[css-scroll-snap] Removing 'trapping' behavior from value definitions since it's more thoroughly defined in the following paragraph, and the terminology 'trapping' is inconsistent with 'capturing' used throughout the rest of the document
1 parent 893e58f commit 87b2687

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

css-scroll-snap/Overview.bs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -270,21 +270,13 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
270270

271271
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.
272272

273-
If specified on a non-<a>scroll container</a>,
274-
this value "traps" descendant boxes' <a>snap positions</a>,
275-
preventing them from affecting any ancestor <a>scroll containers</a>.
276-
277273
<dt><dfn>proximity</dfn>
278274
<dd>
279275
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.
280276

281277
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.
282278

283279
Issue: The text for mandatory and proximity resnapping requirements has some overlap -- try to rewrite this more concisely and without repetition without altering functionality
284-
285-
If specified on a non-<a>scroll container</a>,
286-
this value "traps" descendant boxes' <a>snap positions</a>,
287-
preventing them from affecting any ancestor <a>scroll containers</a>.
288280
</dl>
289281

290282
A box <dfn export>captures snap positions</dfn>

0 commit comments

Comments
 (0)