Skip to content

[css-scroll-snap] Clarify scroll-padding scrollport (#4393) #4776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion css-scroll-snap-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,13 @@ Scroll Snapport: the 'scroll-padding' property {#scroll-padding}
: <dfn><<length-percentage>></dfn>
::
Defines an inward offset from the corresponding edge of the [=scrollport=].

When the scrollport is the root scroller, the offset is relative to the layout viewport.

<div class="note">
Though the [=scrollport=] is defined as the visual viewport of the scroll container,
scroll padding offsets are relative to the layout viewport when the scroll container is
the root scroller.
</div>
: <dfn>auto</dfn>
::
Indicates that the offset for the corresponding edge of the [=scrollport=] is UA-determined.
Expand Down