Skip to content

Commit e516e9f

Browse files
committed
[css-snappoints] More explicit definition of scroll-snap-align
1 parent 57cf612 commit e516e9f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-snappoints/Overview.bs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,10 @@ Scroll Snapping Alignment: the 'scroll-snap-align' property {#scroll-snap-align}
419419
Animatable: no
420420
</pre>
421421

422-
The 'scroll-snap-align' property specifies how an element's scroll snap area should align with its ancestor scroll container's snapport. The two values specify the snapping behavior in the x and y axes, respectively. If only one value is specified, the second value defaults to the same value.
422+
The 'scroll-snap-align' property specifies
423+
the box's <a>snap position</a> as an alignment of
424+
its <a>snap area</a> (as the <a>alignment subject</a>)
425+
within its <a>snap container's</a> <a>snapport</a> (as the <a>alignment container</a>). The two values specify the snapping behavior in the x and y axes, respectively. If only one value is specified, the second value defaults to the same value.
423426

424427
Issue: Should this be x/y axes, or inline/block? Starting with x/y axes for consistency with padding/area, otherwise a writing mode change would result in a axis mismatch (since padding is physical by default).
425428

0 commit comments

Comments
 (0)