Skip to content

Commit b4c6c9b

Browse files
committed
[css-snappoints] Adding clarifying additions
1 parent 97c91ad commit b4c6c9b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-snappoints/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Capturing Scroll Snap Areas: Properties on the scroll container {#properties-on
253253
-->
254254

255255
Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
256-
-------------------------------------------------------------------
256+
--------------------------------------------------------------------------
257257

258258
<pre class="propdef">
259259
Name: scroll-snap-type
@@ -287,13 +287,13 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
287287

288288
<dt><dfn>mandatory</dfn>
289289
<dd>
290-
The <a>scroll container</a> is required to be <a>snapped</a> when there are no active scrolling operations. If a reachable snap position exists then the scroll container must <a>snap</a> at the termination of a scroll. If no reachable snap position exists then no <a>snapping</a> occurs.
290+
The <a>scroll container</a> is required to be <a>snapped</a> to a snap position when there are no active scrolling operations. If a reachable snap position exists then the scroll container must <a>snap</a> at the termination of a scroll. If no reachable snap position exists then no <a>snapping</a> occurs.
291291

292292
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.
293293

294294
<dt><dfn>proximity</dfn>
295295
<dd>
296-
The <a>scroll container</a> may snap at the termination of a scroll at the discretion of the UA given the parameters of the scroll.
296+
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.
297297

298298
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.
299299
</dl>

0 commit comments

Comments
 (0)