Skip to content

Commit 0b081d6

Browse files
author
Nick Burris
authored
Merge pull request #1 from nickburris/nickburris-4393
[css-scroll-snap] Clarify scroll-padding scrollport (w3c#4393)
2 parents 0a39585 + c21bd0d commit 0b081d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

css-scroll-snap-1/Overview.bs

+7-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,13 @@ Scroll Snapport: the 'scroll-padding' property {#scroll-padding}
490490
: <dfn><<length-percentage>></dfn>
491491
::
492492
Defines an inward offset from the corresponding edge of the [=scrollport=].
493-
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>
494500
: <dfn>auto</dfn>
495501
::
496502
Indicates that the offset for the corresponding edge of the [=scrollport=] is UA-determined.

0 commit comments

Comments
 (0)