Skip to content

Commit 7b46482

Browse files
committed
[css-scroll-snap] Align scroll-snap-points-x/y with existing draft, mark start/end as issue.
1 parent a784e2c commit 7b46482

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

css-scroll-snap/Overview.bs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ Scroll Snapping Coordinates: the 'scroll-snap-points-x' and 'scroll-snap-points-
339339

340340
<pre class="propdef">
341341
Name: scroll-snap-points-x, scroll-snap-points-y
342-
Value: none | [ start || end || repeat(<length>) ]
342+
Value: none | repeat(<length>)
343343
Initial: start end
344344
Applies to: <a>scroll containers</a>
345345
Inherited: no
@@ -359,16 +359,6 @@ Scroll Snapping Coordinates: the 'scroll-snap-points-x' and 'scroll-snap-points-
359359
No <a>snap positions</a> are defined by this <a>scroll container</a>.
360360
Contained elements may still define <a>snap positions</a> on this <a>scroll container's</a> behalf.
361361

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-
372362
<dt><dfn>repeat(<<length>>)</dfn>
373363
<dd>
374364
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-
382372

383373
Issue: We changed the initial value to make it so that the start and end of the scrollable area are always reachable and snappable.
384374

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.)
386377

387378
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"?
388379

0 commit comments

Comments
 (0)