Skip to content

Commit 57cf612

Browse files
committed
[css-snappoints] Better definition tagging for snapport
1 parent 7d18504 commit 57cf612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-snappoints/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
310310
██ ██ ██ ████████ ████████ ████ ██ ██ ██████
311311
-->
312312

313-
Snapport: the 'scroll-snap-padding' property {#scroll-snap-padding}
313+
Scroll Snapport: the 'scroll-snap-padding' property {#scroll-snap-padding}
314314
-------------------------------------------------------------------
315315

316316
<pre class="propdef">
@@ -325,7 +325,7 @@ Snapport: the 'scroll-snap-padding' property {#scroll-snap-padding}
325325
Animatable: as length, percentage, or calc
326326
</pre>
327327

328-
The 'scroll-snap-padding' property defines the <a>snapport</a>, a region inset from the scrollport of a <a>scroll container</a> used in calculating its <a>snap positions</a>. The snapport is used as the alignment container when calculating <a>snap positions</a>. Values are interpreted as for 'padding', and specify inward offsets from each edge of the scrollport.
328+
The 'scroll-snap-padding' property defines the <dfn local-lt="snapport">scroll snapport</dfn>, a region inset from the scrollport of a <a>scroll container</a> used in calculating its <a>snap positions</a>. The snapport is used as the alignment container when calculating <a>snap positions</a>. Values are interpreted as for 'padding', and specify inward offsets from each edge of the scrollport.
329329

330330
<div class="example">
331331
In this example, scroll-snap-padding is used to center slideshow images within the portion of the viewport that is not obscured by a fixed-position toolbar.

0 commit comments

Comments
 (0)