Skip to content

Commit 932a1fc

Browse files
committed
[css-scroll-snap] Fix block/inline ordering; for 2-value syntaxes it's inline first, same as x/y in English.
1 parent e7160d4 commit 932a1fc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

css-scroll-snap/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -507,16 +507,16 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-align}
507507
<dd>
508508
The element declares two <a>1D snap positions</a>,
509509
one in each axis.
510-
The first value is in the <a>block</a> axis,
511-
and the second is in the <a>inline</a> axis.
510+
The first value is in the <a>inline</a> axis,
511+
and the second is in the <a>block</a> axis.
512512

513513
<dt id=scroll-snap-align-2d>point <<snap-alignment>>{1,2}
514514
<dd>
515515
The element declares a <a>2D snap position</a>.
516516

517517
If both alignments are given,
518-
the first refers to the <a>block</a> axis
519-
and the second refers to the <a>inline</a> axis.
518+
the first refers to the <a>inline</a> axis
519+
and the second refers to the <a>block</a> axis.
520520
If only one is given,
521521
the position refers to both axises.
522522
</dl>

0 commit comments

Comments
 (0)