Skip to content

Commit 659802f

Browse files
committed
[css-overscroll-behavior-1] Clarify viewport participation in scroll chaining #3267
1 parent 3d01d79 commit 659802f

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

css-overscroll-behavior-1/Overview.bs

+12-4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ urlPrefix: https://www.w3.org/TR/css-display-3/
2121
url: https://drafts.csswg.org/css-overflow-3/#scroll-container
2222
type: dfn; text: scroll container
2323
type: dfn; text: scroll containers
24+
url: https://drafts.csswg.org/cssom-view/#viewport
25+
type: dfn; text: viewport
26+
url: https://drafts.csswg.org/cssom-view/#dom-document-scrollingelement
27+
type: dfn; text: scrollingElement
2428
url: https://www.w3.org/TR/uievents/#default-action
2529
type: dfn; text: default action
2630
type: dfn; text: default actions
@@ -125,7 +129,10 @@ performed starting at the event target recursing up the <a>containing block chai
125129
pass it up the chain. Chaining typically occurs when the <a>scrollport</a> has reached its boundary.
126130

127131
A <dfn>scroll chain</dfn> is the order in which scrolling is propagated from one <a>scroll
128-
container</a> to another.
132+
container</a> to another. The <a>viewport</a> participates in <a>scroll chaining</a> as the
133+
document's <a>scrollingElement</a>, both regarding placement in the scroll chain as well as adhering
134+
to the chaining rules applied to it.
135+
129136

130137
<dfn>Scroll boundary</dfn> refers to when the scroll position of a <a>scroll container</a> reaches
131138
the edge of the <a>scrollport</a>. If a scroll container has no potential to scroll, because it does
@@ -135,9 +142,10 @@ scroll boundary.
135142
<dfn>Boundary default action</dfn> refers to the user-agent-defined <a>default action</a> performed
136143
when scrolling against the edge of the <a>scrollport</a>. A <dfn>local boundary default action</dfn>
137144
is a <a>boundary default action</a> which is performed on the <a>scroll container</a> without
138-
interacting with the page, for example displaying a overscroll UI affordance. Conversely, a <dfn
139-
>non-local boundary default action</dfn> interacts with the page, for example scroll chaining or a
140-
navigation action.
145+
interacting with the page, for example displaying a overscroll UI affordance. Conversely, a
146+
<dfn>non-local boundary default action</dfn> interacts with the page, for example scroll chaining or
147+
a navigation action.
148+
141149

142150

143151
Overscroll Behavior Properties {#overscroll-behavior-properties}

0 commit comments

Comments
 (0)