We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a39585 + c21bd0d commit 0b081d6Copy full SHA for 0b081d6
css-scroll-snap-1/Overview.bs
@@ -490,7 +490,13 @@ Scroll Snapport: the 'scroll-padding' property {#scroll-padding}
490
: <dfn><<length-percentage>></dfn>
491
::
492
Defines an inward offset from the corresponding edge of the [=scrollport=].
493
-
+ When the scrollport is the root scroller, the offset is relative to the layout viewport.
494
+
495
+ <div class="note">
496
+ Though the [=scrollport=] is defined as the visual viewport of the scroll container,
497
+ scroll padding offsets are relative to the layout viewport when the scroll container is
498
+ the root scroller.
499
+ </div>
500
: <dfn>auto</dfn>
501
502
Indicates that the offset for the corresponding edge of the [=scrollport=] is UA-determined.
0 commit comments