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
Copy file name to clipboardExpand all lines: css-scroll-snap/Overview.bs
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -339,7 +339,7 @@ Scroll Snapping Coordinates: the 'scroll-snap-points-x' and 'scroll-snap-points-
339
339
340
340
<pre class="propdef">
341
341
Name: scroll-snap-points-x, scroll-snap-points-y
342
-
Value: none | [ start || end || repeat(<length>) ]
342
+
Value: none | repeat(<length>)
343
343
Initial: start end
344
344
Applies to: <a>scroll containers</a>
345
345
Inherited: no
@@ -359,16 +359,6 @@ Scroll Snapping Coordinates: the 'scroll-snap-points-x' and 'scroll-snap-points-
359
359
No <a>snap positions</a> are defined by this <a>scroll container</a>.
360
360
Contained elements may still define <a>snap positions</a> on this <a>scroll container's</a> behalf.
361
361
362
-
<dt><dfn>start</dfn>
363
-
<dd>
364
-
The <a>start</a> edge of the <a>scrollable area</a> in the appropriate axis
365
-
is a <a>snap position</a>.
366
-
367
-
<dt><dfn>end</dfn>
368
-
<dd>
369
-
The <a>end</a> edge of the <a>scrollable area</a> in the appropriate axis
370
-
is a <a>snap position</a>.
371
-
372
362
<dt><dfn>repeat(<<length>>)</dfn>
373
363
<dd>
374
364
Defines <a>snap position</a> that span the <a>scrollable area</a> in the appropriate axis,
@@ -382,7 +372,8 @@ Scroll Snapping Coordinates: the 'scroll-snap-points-x' and 'scroll-snap-points-
382
372
383
373
Issue: We changed the initial value to make it so that the start and end of the scrollable area are always reachable and snappable.
384
374
385
-
Issue: See <a href="https://lists.w3.org/Archives/Public/www-style/2015Jul/0453.html">Matt Rakow's take</a> on not having ''start'' or ''end'' here.
375
+
Issue: Should we add ''start-edge'' and ''end-edge'' keywords here, so that the start and end of the scrollable area can be defined as reachable?
376
+
This would be good for e.g. maps. (See <a href="https://lists.w3.org/Archives/Public/www-style/2015Jul/0453.html">Matt Rakow's take</a> on not having ''start'' or ''end'' here.)
386
377
387
378
Issue: It was <a href="https://lists.w3.org/Archives/Public/www-style/2015Jul/0453.html">suggested</a> that repeat() be mutually exclusive with element-based snap positions. Is there a better way to integrate this than having the initial value here be "elements"?
0 commit comments