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
Add logical longhands that map to corresponding physical one.
To do this properly introduce dfn for "overscroll behavior".
The physical longhands refer to this definition while the shorthand
and logical longhands refer to the physical longhands.
Other fixes:
- Drop unnecessary overview section
- Use 'Animation type' instead of animatable
- Correct wrapping
Abstract: This module defines 'overscroll-behavior' to control the behavior when the scroll position of a <a>scroll container</a> reaches the edge of the <a>scrollport</a>.
12
+
Abstract: This module defines 'overscroll-behavior' to control the behavior when the scroll position
13
+
Abstract: of a <a>scroll container</a> reaches the edge of the <a>scrollport</a>.
13
14
Abstract: This allows content authors to hint that the <a>boundary default actions</a>,
14
15
Abstract: such as scroll chaining and overscroll, should not be triggered.
15
16
</pre>
@@ -61,7 +62,7 @@ shortcoming.
61
62
62
63
63
64
Motivating Examples {#motivating-examples}
64
-
=================
65
+
==========================================
65
66
66
67
67
68
<div class=example>
@@ -110,7 +111,7 @@ scroller to prevent both scroll chaining and overscroll affordance.
110
111
</div>
111
112
112
113
Scroll chaining and boundary default actions {#scroll-chaining-and-boundary-default-actions}
Canonical order: <abbr title="follows order of property value definition">per grammar</abbr>
170
-
</pre>
171
-
172
-
The 'overscroll-behavior-x' property specifies the behavior of the 'overscroll-behavior'
173
-
in the horizontal direction and the 'overscroll-behavior-y' property specifies the handling of
174
-
the 'overscroll-behavior' in the vertical direction. When scrolling is performed along both the
175
-
horizontal and vertical axes at the same time, the 'overscroll-behavior' of each respective
176
-
axis should be considered independently.
177
-
178
161
<pre class=propdef>
179
162
Name: overscroll-behavior
180
163
Value: [ contain | none | auto ]{1,2}
@@ -183,22 +166,25 @@ Applies to: <a>scroll container</a> elements
183
166
Inherited: no
184
167
Media: visual
185
168
Computed value: see individual properties
186
-
Animatable: no
169
+
Animation type:: discrete
187
170
Canonical order: <abbr title="follows order of property value definition">per grammar</abbr>
188
171
</pre>
189
172
190
-
The two values specify the behavior in the horizontal and vertical direction, respectively. If only one value is specified, the second value defaults to the same value.
173
+
174
+
The 'overscroll-behavior' property is a shorthand property that sets the specified values of
175
+
'overscroll-behavior-x' and 'overscroll-behavior-y' in that order. If only one value is specified,
0 commit comments