Skip to content

Commit 7051182

Browse files
committed
[css-snappoints] Removing duplicate def, replacing more instances of viewport with snapport, regenerating html
1 parent 96df870 commit 7051182

File tree

2 files changed

+87
-89
lines changed

2 files changed

+87
-89
lines changed

css-snappoints/Overview.bs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ Overview {#overview}
178178

179179
This module introduces control over <dfn lt="scroll snap position" local-lt="snap position">scroll snap positions</dfn>,
180180
which are scroll positions that produce particular alignments
181-
of content within a scrollable viewport.
181+
of content within a scroll container.
182182
Using the 'scroll-snap-type' property on the relevant <a>scroll container</a>,
183183
the author can request a particular bias
184-
for the viewport to land on a <a>snap position</a>
184+
for the scrollport to land on a <a>snap position</a>
185185
after scrolling operations.
186186

187187
<a>Snap positions</a> can be specified
@@ -345,7 +345,7 @@ Scroll Snapping Rules: the 'scroll-snap-type' property {#scroll-snap-type}
345345
Advisement:
346346
Authors should use mandatory snap positions with consideration of
347347
varyingly-sized screens and (if applicable) varying-sized content.
348-
In particular, although access to snapped elements larger than the viewport
348+
In particular, although access to snapped elements larger than the scrollport
349349
is handled by the UA,
350350
if authors assign mandatory snapping to non-adjacent siblings,
351351
content in between can become inaccessible
@@ -379,7 +379,7 @@ Scroll Snapport: the 'scroll-snap-padding' property {#scroll-snap-padding}
379379
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.
380380

381381
<div class="example">
382-
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.
382+
In this example, scroll-snap-padding is used to center slideshow images within the portion of the scrollport that is not obscured by a fixed-position toolbar.
383383

384384
<pre class="lang-css">
385385
body {
@@ -430,11 +430,9 @@ Scroll Snapping Area: the 'scroll-snap-margin' property {#scroll-snap-margin}
430430
Animatable: as length
431431
</pre>
432432

433-
The 'scroll-snap-margin' property defines the <dfn lt="scroll snap area" local-lt="snap area">scroll snap area</dfn> on elements within a <a>scroll container</a>, used in calculating <a>snap positions</a> for that scroll container.
434-
435433
The 'scroll-snap-margin' property defines
436434
the <dfn lt="scroll snap area" local-lt="snap area">scroll snap area</dfn>
437-
that is used for snapping this box to the viewport.
435+
that is used for snapping this box to the snapport.
438436
The <<length>> values give outsets
439437
(interpreted as for 'margin' or 'border-image-outset').
440438
The <a>scroll snap area</a> is the rectangular bounding box of the transformed border box,

0 commit comments

Comments
 (0)