Skip to content

Commit 6305164

Browse files
committed
[css-snappoints] Editorial updates to scroll-snap-area
1 parent 6a8a474 commit 6305164

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css-snappoints/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Ignored Terms: scroll-snap-positions-*, containing block chain
256256

257257
<h2 id="scroll-snap-area">Scroll Snap Area: the 'scroll-snap-area' property</h2>
258258

259-
The 'scroll-snap-area' property defines a region for an element used in calculating <a>snap positions</a> for its ancestor scroll container.
259+
The 'scroll-snap-area' property defines the <a>scroll-snap-area</a> on elements within a <a>scroll container</a>, used in calculating <a>snap positions</a> for that scroll container.
260260

261261
<pre class="propdef">
262262
Name: scroll-snap-area
@@ -275,9 +275,11 @@ Ignored Terms: scroll-snap-positions-*, containing block chain
275275
<dd>
276276
Specifies the outset of the element's snap area from the axis-aligned bounding box of the transformed specified box, in the <a>scroll container's</a> coordinate space. Outsets are applied to this bounding box, not the specified box. If the box argument is omitted it defaults to border-box.
277277

278-
Note: This ensures that the scroll snap area is always rectangular and axis-aligned to the <a>scroll container's</a> coordinate space.
278+
Note: This ensures that the <a>scroll snap area</a> is always rectangular and axis-aligned to the <a>scroll container's</a> coordinate space.
279279
</dl>
280280

281+
This property is a shorthand property that sets all of the 'scroll-snap-area-*' longhands in one declaration.
282+
281283
<h2 id="scroll-snap-align">Scroll Snap Align: the 'scroll-snap-align' property</h2>
282284

283285
The 'scroll-snap-align' property specifies how a scroll container's region specified by 'scroll-snap-padding' should align with descendent elements' scroll snap area. 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.

0 commit comments

Comments
 (0)