You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authors should use mandatory snap positions with consideration of
347
347
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
349
349
is handled by the UA,
350
350
if authors assign mandatory snapping to non-adjacent siblings,
351
351
content in between can become inaccessible
@@ -379,7 +379,7 @@ Scroll Snapport: the 'scroll-snap-padding' property {#scroll-snap-padding}
379
379
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.
380
380
381
381
<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.
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
-
435
433
The 'scroll-snap-margin' property defines
436
434
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.
438
436
The <<length>> values give outsets
439
437
(interpreted as for 'margin' or 'border-image-outset').
440
438
The <a>scroll snap area</a> is the rectangular bounding box of the transformed border box,
0 commit comments