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
A <dfn>scroll chain</dfn> is the order in which scrolling is propagated from one <a>scroll container</a> to another.
59
59
60
-
<dfn>Scroll boundary</dfn> refers to when the scroll position of a <a>scroll container</a> reaches the edge of the <a>scrollport<a>. If a scroll container has no potential to scroll, because it does not <a>overflow</a> in the direction of the scroll, the element is always considered to be at the scroll boundary.
60
+
<dfn>Scroll boundary</dfn> refers to when the scroll position of a <a>scroll container</a> reaches the edge of the <a>scrollport<a>. If a scroll container has no potential to scroll, because it does not <a>overflow</a> in the direction of the scroll, the element is always considered to be at the scroll boundary.
61
61
62
62
<dfn>Boundary default action</dfn> refers to the user-agent-defined <a>default action</a> performed when scrolling against the edge of the <a>scrollport</a>. A <a>boundary default action</a> is said to be <dfn>local</dfn>, for example overscroll, if it is performed on the <a>scroll container</a> without interacting with the page. Conversely, a <dfn>non-local boundary default action</dfn> will interact with the page such as scroll chaining or a navigation action.
63
63
@@ -105,7 +105,7 @@ Values have the following meanings:
This value indicates that the element must not perform <a>non-local boundary default actions</a>. The user agent must not perform scholl chaining to any ancestors along the <a>scroll chain</a> regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how <a>local boundary default actions</a> should behave, such as overscroll behavior and navigation guestures.
108
+
This value indicates that the element must not perform <a>non-local boundary default actions</a>. The user agent must not perform scholl chaining to any ancestors along the <a>scroll chain</a> regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how <a>local boundary default actions</a> should behave, such as overscroll behavior and navigation guestures.
109
109
<dt><dfn>none</dfn>
110
110
<dd>
111
111
This value implies the same behavior as <a>contain</a> and in addition this element must also not perform <a>local boundary default actions</a> such as showing any overscroll affordances or performing any navigation guestures.
@@ -117,3 +117,14 @@ Values have the following meanings:
117
117
Note: In the case where a user agent does not implement scroll chaining and overscroll affordances, these values will have no side effects for a compliant implementation.
118
118
119
119
Note: Programmatic scrolling is clamped and can not trigger any <a>boundary default actions</a>.
120
+
121
+
122
+
Security and Privacy Considerations
123
+
===================================
124
+
There are no known security or privacy impacts of this feature. The feature may be used to prevent
125
+
certain native UI features such as overscroll affordances and overscroll navigations (e.g., pull-
126
+
to-refresh, swipe navigations). However, this does not expose any additional abilities beyond what
127
+
is already possible in the platform e.g., by preventing the default action of the event that would
<h2class="no-num no-toc no-ref heading settled" id="subtitle"><spanclass="content">Draft Community Group Report, <timeclass="dt-updated" datetime="2017-05-08">8 May 2017</time></span></h2>
1369
+
<h2class="no-num no-toc no-ref heading settled" id="subtitle"><spanclass="content">Draft Community Group Report, <timeclass="dt-updated" datetime="2017-09-07">7 September 2017</time></span></h2>
<dd> This value indicates that the element must not perform <adata-link-type="dfn" href="#non-local-boundary-default-action" id="ref-for-non-local-boundary-default-action-1">non-local boundary default actions</a>. The user agent must not perform scholl chaining to any ancestors along the scrollchain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how <adata-link-type="dfn" href="#local" id="ref-for-local-1">local boundary default actions</a> should behave, such as overscroll behavior and navigation guestures.
1526
+
<dd> This value indicates that the element must not perform <adata-link-type="dfn" href="#non-local-boundary-default-action" id="ref-for-non-local-boundary-default-action-1">non-local boundary default actions</a>. The user agent must not perform scholl chaining to any ancestors along the <adata-link-type="dfn" href="#scroll-chain" id="ref-for-scroll-chain-3">scroll chain</a> regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how <adata-link-type="dfn" href="#local" id="ref-for-local-1">local boundary default actions</a> should behave, such as overscroll behavior and navigation guestures.
<dd> This value implies the same behavior as <adata-link-type="dfn" href="https://infra.spec.whatwg.org/#list-contain">contain</a> and in addition this element must also not perform <adata-link-type="dfn" href="#local" id="ref-for-local-2">local boundary default actions</a> such as showing any overscroll affordances or performing any navigation guestures.
<dd> This value indicates that the user agent should perform the usual <adata-link-type="dfn" href="#boundary-default-action" id="ref-for-boundary-default-action-4">boundary default action</a> with respect to both <adata-link-type="dfn" href="#scroll-chaining" id="ref-for-scroll-chaining-3">scroll chaining</a>, overscroll and navigation guestures.
1528
1531
</dl>
1529
1532
<pclass="note" role="note"><span>Note:</span> In the case where a user agent does not implement scroll chaining and overscroll affordances, these values will have no side effects for a compliant implementation.</p>
1530
1533
<pclass="note" role="note"><span>Note:</span> Programmatic scrolling is clamped and can not trigger any <adata-link-type="dfn" href="#boundary-default-action" id="ref-for-boundary-default-action-5">boundary default actions</a>.</p>
1534
+
<h2class="heading settled" data-level="5" id="security-and-privacy-considerations"><spanclass="secno">5. </span><spanclass="content">Security and Privacy Considerations</span><aclass="self-link" href="#security-and-privacy-considerations"></a></h2>
1535
+
There are no known security or privacy impacts of this feature. The feature may be used to prevent
1536
+
certain native UI features such as overscroll affordances and overscroll navigations (e.g., pull-
1537
+
to-refresh, swipe navigations). However, this does not expose any additional abilities beyond what
1538
+
is already possible in the platform e.g., by preventing the default action of the event that would
0 commit comments