Skip to content

Commit 6c7a540

Browse files
committed
[css-scroll-snap] Fix more markup.
1 parent 2d1d5e2 commit 6c7a540

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

css-scroll-snap/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -436,9 +436,9 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-align}
436436

437437
<pre class="propdef">
438438
Name: scroll-snap-align
439-
Value: [ none | edges | <alignment> ] {1,2} |
440-
[ block | inline] [ none | edges | <alignment> ] |
441-
point <alignment>{1,2}
439+
Value: [ none | edges | <<alignment>> ] {1,2} |
440+
[ block | inline] [ none | edges | <<alignment>> ] |
441+
point <<alignment>>{1,2}
442442
Initial: none
443443
Applies to: all elements
444444
Inherited: no
@@ -460,7 +460,7 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-align}
460460
<dfn for=scroll-snap-align><<alignment>></dfn> = center | [ start | end ] <<percentage>>?
461461
</pre>
462462

463-
Issue: This is a subset of the L4 <<position> syntax
463+
Issue: This is a subset of the L4 <<position>> syntax
464464
that works within the constraint of an axis.
465465
It also aligns with the <<self-position>> syntax from [[CSS-ALIGN-3]] (see e.g. 'align-self').
466466
We could simplify to ''center | start | end'' by dropping <<percentage>>
@@ -561,7 +561,7 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-align}
561561
and no <a>scroll axis keyword</a> is specified, then
562562
the <<alignment>> value
563563
applies to the scrollable axis of the affected <a>scroll container</a>.
564-
If both axes are scrollable
564+
If both axes are scrollable
565565
(i.e. both 'overflow-x' and 'overflow-y' are either ''overflow/scroll'' or ''overflow/auto''),
566566
then it applies to the block axis of the affected <a>scroll container</a>
567567
(as determined by the <a>scroll container</a>’s <a>writing mode</a>).
@@ -597,7 +597,7 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-align}
597597
so are consistent with that syntax.
598598
We chose to use this simpler syntax without lengths
599599
because the 'scroll-snap-area' concept already provides length offsets--
600-
but does so in a smarter way, that degrades better on small screens
600+
but does so in a smarter way, that degrades better on small screens
601601
(see above) because it provides more information (a box, rather than a point) to the UA.
602602
We could have also added lengths here,
603603
but it would provide multiple ways to do the same thing,

0 commit comments

Comments
 (0)