@webref/css 5.4.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/CSS.json +416 -21
- package/README.md +4 -4
- package/SVG.json +42 -35
- package/compat.json +111 -75
- package/compositing.json +101 -12
- package/css-align.json +237 -29
- package/css-anchor.json +177 -19
- package/css-animations-2.json +37 -15
- package/css-animations.json +155 -31
- package/css-backgrounds-4.json +107 -32
- package/css-backgrounds.json +426 -59
- package/css-box.json +243 -20
- package/css-break.json +292 -11
- package/css-cascade-6.json +22 -13
- package/css-cascade.json +50 -15
- package/css-color-5.json +320 -35
- package/css-color-adjust.json +75 -8
- package/css-color.json +1100 -61
- package/css-conditional-4.json +11 -6
- package/css-conditional-5.json +38 -19
- package/css-conditional.json +28 -15
- package/css-contain-3.json +101 -26
- package/css-contain.json +71 -6
- package/css-content.json +263 -30
- package/css-counter-styles.json +455 -18
- package/css-display.json +250 -19
- package/css-easing.json +137 -25
- package/css-env.json +61 -6
- package/css-exclusions.json +65 -6
- package/css-extensions.json +20 -12
- package/css-flexbox.json +132 -11
- package/css-fonts-5.json +255 -13
- package/css-fonts.json +886 -74
- package/css-gcpm-4.json +30 -5
- package/css-gcpm.json +76 -15
- package/css-grid-3.json +10 -9
- package/css-grid.json +442 -42
- package/css-highlight-api.json +13 -5
- package/css-images-4.json +192 -67
- package/css-images.json +152 -33
- package/css-inline.json +525 -16
- package/css-layout-api.json +20 -0
- package/css-line-grid.json +80 -7
- package/css-lists.json +140 -19
- package/css-logical.json +125 -50
- package/css-masking.json +330 -47
- package/css-multicol-2.json +32 -5
- package/css-multicol.json +84 -13
- package/css-namespaces.json +15 -10
- package/css-nav.json +62 -7
- package/css-nesting.json +15 -0
- package/css-overflow-4.json +83 -10
- package/css-overflow.json +239 -18
- package/css-overscroll.json +110 -9
- package/css-page-floats.json +188 -16
- package/css-page.json +262 -67
- package/css-paint-api.json +8 -5
- package/css-position.json +269 -16
- package/css-properties-values-api.json +9 -7
- package/css-pseudo.json +67 -0
- package/css-regions.json +8 -7
- package/css-rhythm.json +69 -10
- package/css-round-display.json +47 -10
- package/css-ruby.json +136 -8
- package/css-scoping.json +27 -0
- package/css-scroll-anchoring.json +20 -5
- package/css-scroll-snap-2.json +272 -10
- package/css-scroll-snap.json +218 -29
- package/css-scrollbars.json +41 -6
- package/css-shadow-parts.json +8 -5
- package/css-shapes-2.json +190 -43
- package/css-shapes.json +130 -36
- package/css-size-adjust.json +26 -5
- package/css-sizing-4.json +404 -23
- package/css-sizing.json +231 -12
- package/css-speech.json +619 -35
- package/css-syntax.json +193 -92
- package/css-tables.json +10 -9
- package/css-text-4.json +800 -40
- package/css-text-decor-4.json +394 -23
- package/css-text-decor.json +159 -14
- package/css-text.json +371 -20
- package/css-transforms-2.json +177 -40
- package/css-transforms.json +137 -45
- package/css-transitions.json +33 -14
- package/css-ui.json +436 -42
- package/css-values-5.json +99 -14
- package/css-values.json +653 -146
- package/css-variables.json +12 -7
- package/css-view-transitions.json +45 -7
- package/css-will-change.json +36 -7
- package/css-writing-modes.json +141 -10
- package/fill-stroke.json +290 -35
- package/filter-effects-2.json +6 -5
- package/filter-effects.json +109 -45
- package/fullscreen.json +15 -0
- package/mathml-core.json +10 -9
- package/mediaqueries-5.json +505 -52
- package/mediaqueries.json +307 -40
- package/motion.json +99 -16
- package/package.json +1 -1
- package/scroll-animations.json +225 -24
- package/selectors.json +368 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/css-overflow.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Overflow Module Level 3",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-overflow-3/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "overflow-x",
|
|
9
9
|
"value": "visible | hidden | clip | scroll | auto",
|
|
10
10
|
"initial": "visible",
|
|
@@ -14,12 +14,44 @@
|
|
|
14
14
|
"computedValue": "usually specified value, but see text",
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "discrete",
|
|
17
|
+
"values": [
|
|
18
|
+
{
|
|
19
|
+
"name": "visible",
|
|
20
|
+
"prose": "There is no special handling of overflow, that is, the box’s content is rendered outside the box if positioned there. The box is not a scroll container.",
|
|
21
|
+
"type": "value",
|
|
22
|
+
"value": "visible"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "hidden",
|
|
26
|
+
"prose": "This value indicates that the box’s content is clipped to its padding box and that the UA must not provide any scrolling user interface to view the content outside the clipping region, nor allow scrolling by direct intervention of the user, such as dragging on a touch screen or using the scrolling wheel on a mouse. However, the content must still be scrollable programmatically, for example using the mechanisms defined in [CSSOM-VIEW], and the box is therefore still a scroll container.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "hidden"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "clip",
|
|
32
|
+
"prose": "This value indicates that the box’s content is clipped to its overflow clip edge and that no scrolling user interface should be provided by the UA to view the content outside the clipping region. In addition, unlike overflow: hidden which still allows programmatic scrolling, overflow: clip forbids scrolling entirely, through any mechanism, and therefore the box is not a scroll container. Unlike hidden, this value does not cause the element to establish a new formatting context.",
|
|
33
|
+
"type": "value",
|
|
34
|
+
"value": "clip"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "scroll",
|
|
38
|
+
"prose": "This value indicates that the content is clipped to the padding box, but can be scrolled into view (and therefore the box is a scroll container). Furthermore, if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed whether or not any of its content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. When the target medium is print, overflowing content may be printed; it is not defined where it may be printed.",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "scroll"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "auto",
|
|
44
|
+
"prose": "Like scroll when the box has scrollable overflow; like hidden otherwise. Thus, if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism will only be displayed if there is overflow.",
|
|
45
|
+
"type": "value",
|
|
46
|
+
"value": "auto"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
17
49
|
"styleDeclaration": [
|
|
18
50
|
"overflow-x",
|
|
19
51
|
"overflowX"
|
|
20
52
|
]
|
|
21
53
|
},
|
|
22
|
-
|
|
54
|
+
{
|
|
23
55
|
"name": "overflow-y",
|
|
24
56
|
"value": "visible | hidden | clip | scroll | auto",
|
|
25
57
|
"initial": "visible",
|
|
@@ -29,12 +61,44 @@
|
|
|
29
61
|
"computedValue": "usually specified value, but see text",
|
|
30
62
|
"canonicalOrder": "per grammar",
|
|
31
63
|
"animationType": "discrete",
|
|
64
|
+
"values": [
|
|
65
|
+
{
|
|
66
|
+
"name": "visible",
|
|
67
|
+
"prose": "There is no special handling of overflow, that is, the box’s content is rendered outside the box if positioned there. The box is not a scroll container.",
|
|
68
|
+
"type": "value",
|
|
69
|
+
"value": "visible"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "hidden",
|
|
73
|
+
"prose": "This value indicates that the box’s content is clipped to its padding box and that the UA must not provide any scrolling user interface to view the content outside the clipping region, nor allow scrolling by direct intervention of the user, such as dragging on a touch screen or using the scrolling wheel on a mouse. However, the content must still be scrollable programmatically, for example using the mechanisms defined in [CSSOM-VIEW], and the box is therefore still a scroll container.",
|
|
74
|
+
"type": "value",
|
|
75
|
+
"value": "hidden"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "clip",
|
|
79
|
+
"prose": "This value indicates that the box’s content is clipped to its overflow clip edge and that no scrolling user interface should be provided by the UA to view the content outside the clipping region. In addition, unlike overflow: hidden which still allows programmatic scrolling, overflow: clip forbids scrolling entirely, through any mechanism, and therefore the box is not a scroll container. Unlike hidden, this value does not cause the element to establish a new formatting context.",
|
|
80
|
+
"type": "value",
|
|
81
|
+
"value": "clip"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "scroll",
|
|
85
|
+
"prose": "This value indicates that the content is clipped to the padding box, but can be scrolled into view (and therefore the box is a scroll container). Furthermore, if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed whether or not any of its content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. When the target medium is print, overflowing content may be printed; it is not defined where it may be printed.",
|
|
86
|
+
"type": "value",
|
|
87
|
+
"value": "scroll"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "auto",
|
|
91
|
+
"prose": "Like scroll when the box has scrollable overflow; like hidden otherwise. Thus, if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism will only be displayed if there is overflow.",
|
|
92
|
+
"type": "value",
|
|
93
|
+
"value": "auto"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
32
96
|
"styleDeclaration": [
|
|
33
97
|
"overflow-y",
|
|
34
98
|
"overflowY"
|
|
35
99
|
]
|
|
36
100
|
},
|
|
37
|
-
|
|
101
|
+
{
|
|
38
102
|
"name": "overflow",
|
|
39
103
|
"value": "[ visible | hidden | clip | scroll | auto ]{1,2}",
|
|
40
104
|
"initial": "visible",
|
|
@@ -44,11 +108,43 @@
|
|
|
44
108
|
"computedValue": "see individual properties",
|
|
45
109
|
"animationType": "discrete",
|
|
46
110
|
"canonicalOrder": "per grammar",
|
|
111
|
+
"values": [
|
|
112
|
+
{
|
|
113
|
+
"name": "visible",
|
|
114
|
+
"prose": "There is no special handling of overflow, that is, the box’s content is rendered outside the box if positioned there. The box is not a scroll container.",
|
|
115
|
+
"type": "value",
|
|
116
|
+
"value": "visible"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "hidden",
|
|
120
|
+
"prose": "This value indicates that the box’s content is clipped to its padding box and that the UA must not provide any scrolling user interface to view the content outside the clipping region, nor allow scrolling by direct intervention of the user, such as dragging on a touch screen or using the scrolling wheel on a mouse. However, the content must still be scrollable programmatically, for example using the mechanisms defined in [CSSOM-VIEW], and the box is therefore still a scroll container.",
|
|
121
|
+
"type": "value",
|
|
122
|
+
"value": "hidden"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "clip",
|
|
126
|
+
"prose": "This value indicates that the box’s content is clipped to its overflow clip edge and that no scrolling user interface should be provided by the UA to view the content outside the clipping region. In addition, unlike overflow: hidden which still allows programmatic scrolling, overflow: clip forbids scrolling entirely, through any mechanism, and therefore the box is not a scroll container. Unlike hidden, this value does not cause the element to establish a new formatting context.",
|
|
127
|
+
"type": "value",
|
|
128
|
+
"value": "clip"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "scroll",
|
|
132
|
+
"prose": "This value indicates that the content is clipped to the padding box, but can be scrolled into view (and therefore the box is a scroll container). Furthermore, if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed whether or not any of its content is clipped. This avoids any problem with scrollbars appearing and disappearing in a dynamic environment. When the target medium is print, overflowing content may be printed; it is not defined where it may be printed.",
|
|
133
|
+
"type": "value",
|
|
134
|
+
"value": "scroll"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "auto",
|
|
138
|
+
"prose": "Like scroll when the box has scrollable overflow; like hidden otherwise. Thus, if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism will only be displayed if there is overflow.",
|
|
139
|
+
"type": "value",
|
|
140
|
+
"value": "auto"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
47
143
|
"styleDeclaration": [
|
|
48
144
|
"overflow"
|
|
49
145
|
]
|
|
50
146
|
},
|
|
51
|
-
|
|
147
|
+
{
|
|
52
148
|
"name": "overflow-clip-margin",
|
|
53
149
|
"value": "<visual-box> || <length [0,∞]>",
|
|
54
150
|
"initial": "0px",
|
|
@@ -58,12 +154,26 @@
|
|
|
58
154
|
"computedValue": "the computed <length> and a <visual-box> keyword",
|
|
59
155
|
"canonicalOrder": "per grammar",
|
|
60
156
|
"animationType": "per computed value if the <visual-box> values match; otherwise discrete",
|
|
157
|
+
"values": [
|
|
158
|
+
{
|
|
159
|
+
"name": "<visual-box>",
|
|
160
|
+
"prose": "Specifies the box edge to use as the overflow clip edge origin, i.e. when the specified offset is zero. If omitted, defaults to padding-box on non-replaced elements, or content-box on replaced elements.",
|
|
161
|
+
"type": "value",
|
|
162
|
+
"value": "<visual-box>"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "<length [0,∞]>",
|
|
166
|
+
"prose": "The specified offset dictates how much the overflow clip edge is expanded from the specified box edge Negative values are invalid. Defaults to zero if omitted.",
|
|
167
|
+
"type": "value",
|
|
168
|
+
"value": "<length [0,∞]>"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
61
171
|
"styleDeclaration": [
|
|
62
172
|
"overflow-clip-margin",
|
|
63
173
|
"overflowClipMargin"
|
|
64
174
|
]
|
|
65
175
|
},
|
|
66
|
-
|
|
176
|
+
{
|
|
67
177
|
"name": "overflow-inline",
|
|
68
178
|
"value": "<'overflow'>",
|
|
69
179
|
"initial": "visible",
|
|
@@ -78,7 +188,7 @@
|
|
|
78
188
|
"overflowInline"
|
|
79
189
|
]
|
|
80
190
|
},
|
|
81
|
-
|
|
191
|
+
{
|
|
82
192
|
"name": "overflow-block",
|
|
83
193
|
"value": "<'overflow'>",
|
|
84
194
|
"initial": "visible",
|
|
@@ -93,7 +203,7 @@
|
|
|
93
203
|
"overflowBlock"
|
|
94
204
|
]
|
|
95
205
|
},
|
|
96
|
-
|
|
206
|
+
{
|
|
97
207
|
"name": "scroll-behavior",
|
|
98
208
|
"value": "auto | smooth",
|
|
99
209
|
"initial": "auto",
|
|
@@ -103,12 +213,26 @@
|
|
|
103
213
|
"computedValue": "specified value",
|
|
104
214
|
"canonicalOrder": "per grammar",
|
|
105
215
|
"animatable": "no",
|
|
216
|
+
"values": [
|
|
217
|
+
{
|
|
218
|
+
"name": "auto",
|
|
219
|
+
"prose": "The scroll container is scrolled in an instant fashion.",
|
|
220
|
+
"type": "value",
|
|
221
|
+
"value": "auto"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"name": "smooth",
|
|
225
|
+
"prose": "The scroll container is scrolled in a smooth fashion using a user-agent-defined timing function over a user-agent-defined period of time. User agents should follow platform conventions, if any.",
|
|
226
|
+
"type": "value",
|
|
227
|
+
"value": "smooth"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
106
230
|
"styleDeclaration": [
|
|
107
231
|
"scroll-behavior",
|
|
108
232
|
"scrollBehavior"
|
|
109
233
|
]
|
|
110
234
|
},
|
|
111
|
-
|
|
235
|
+
{
|
|
112
236
|
"name": "scrollbar-gutter",
|
|
113
237
|
"value": "auto | stable && both-edges?",
|
|
114
238
|
"initial": "auto",
|
|
@@ -118,12 +242,32 @@
|
|
|
118
242
|
"computedValue": "specified keyword(s)",
|
|
119
243
|
"canonicalOrder": "per grammar",
|
|
120
244
|
"animationType": "discrete",
|
|
245
|
+
"values": [
|
|
246
|
+
{
|
|
247
|
+
"name": "auto",
|
|
248
|
+
"prose": "Classic scrollbars consume space by creating a scrollbar gutter when overflow is scroll, or when overflow is auto and the box is overflowing. Overlay scrollbars do not consume space.",
|
|
249
|
+
"type": "value",
|
|
250
|
+
"value": "auto"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "stable",
|
|
254
|
+
"prose": "The scrollbar gutter is present for classic scrollbars when overflow is hidden, scroll, or auto, regardless of whether the box is actually overflowing. Overlay scrollbars do not consume space.",
|
|
255
|
+
"type": "value",
|
|
256
|
+
"value": "stable"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "both-edges",
|
|
260
|
+
"prose": "If a scrollbar gutter would be present on one of the inline start edge or the inline end edge of the box, another scrollbar gutter must be present on the opposite edge as well.",
|
|
261
|
+
"type": "value",
|
|
262
|
+
"value": "both-edges"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
121
265
|
"styleDeclaration": [
|
|
122
266
|
"scrollbar-gutter",
|
|
123
267
|
"scrollbarGutter"
|
|
124
268
|
]
|
|
125
269
|
},
|
|
126
|
-
|
|
270
|
+
{
|
|
127
271
|
"name": "text-overflow",
|
|
128
272
|
"value": "clip | ellipsis",
|
|
129
273
|
"initial": "clip",
|
|
@@ -133,12 +277,26 @@
|
|
|
133
277
|
"computedValue": "specified keyword",
|
|
134
278
|
"canonicalOrder": "per grammar",
|
|
135
279
|
"animationType": "discrete",
|
|
280
|
+
"values": [
|
|
281
|
+
{
|
|
282
|
+
"name": "clip",
|
|
283
|
+
"prose": "Clip inline content that overflows its block container element. Characters may be only partially rendered.",
|
|
284
|
+
"type": "value",
|
|
285
|
+
"value": "clip"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "ellipsis",
|
|
289
|
+
"prose": "Render an ellipsis character (U+2026) to represent clipped inline content. Implementations may substitute a more language, script, or writing-mode appropriate ellipsis character, or three dots \"...\" if the ellipsis character is unavailable.",
|
|
290
|
+
"type": "value",
|
|
291
|
+
"value": "ellipsis"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
136
294
|
"styleDeclaration": [
|
|
137
295
|
"text-overflow",
|
|
138
296
|
"textOverflow"
|
|
139
297
|
]
|
|
140
298
|
},
|
|
141
|
-
|
|
299
|
+
{
|
|
142
300
|
"name": "block-ellipsis",
|
|
143
301
|
"value": "none | auto | <string>",
|
|
144
302
|
"initial": "none",
|
|
@@ -148,12 +306,32 @@
|
|
|
148
306
|
"computedValue": "specified value",
|
|
149
307
|
"canonicalOrder": "per grammar",
|
|
150
308
|
"animationType": "discrete",
|
|
309
|
+
"values": [
|
|
310
|
+
{
|
|
311
|
+
"name": "none",
|
|
312
|
+
"prose": "The rendering is unaffected.",
|
|
313
|
+
"type": "value",
|
|
314
|
+
"value": "none"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "auto",
|
|
318
|
+
"prose": "Render an ellipsis character (U+2026)—or a more typographically-appropriate equivalent—as the block overflow ellipsis at the end of the affected line box. UAs should use the conventions of the content language, writing system, and writing mode to determine the most appropriate ellipsis string.",
|
|
319
|
+
"type": "value",
|
|
320
|
+
"value": "auto"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "<string>",
|
|
324
|
+
"prose": "Render the specified string as the block overflow ellipsis at the end of the affected line box. The UA may truncate this string if it is absurdly long.",
|
|
325
|
+
"type": "value",
|
|
326
|
+
"value": "<string>"
|
|
327
|
+
}
|
|
328
|
+
],
|
|
151
329
|
"styleDeclaration": [
|
|
152
330
|
"block-ellipsis",
|
|
153
331
|
"blockEllipsis"
|
|
154
332
|
]
|
|
155
333
|
},
|
|
156
|
-
|
|
334
|
+
{
|
|
157
335
|
"name": "line-clamp",
|
|
158
336
|
"value": "none | <integer> <'block-ellipsis'>?",
|
|
159
337
|
"initial": "none",
|
|
@@ -163,12 +341,26 @@
|
|
|
163
341
|
"computedValue": "see individual properties",
|
|
164
342
|
"animationType": "see individual properties",
|
|
165
343
|
"canonicalOrder": "per grammar",
|
|
344
|
+
"values": [
|
|
345
|
+
{
|
|
346
|
+
"name": "none",
|
|
347
|
+
"prose": "Sets max-lines to none, continue to auto, and block-ellipsis to none.",
|
|
348
|
+
"type": "value",
|
|
349
|
+
"value": "none"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "<integer>",
|
|
353
|
+
"prose": "Sets max-lines to the specified <integer>, continue to discard, and the block-ellipsis property to second component of the value or to auto if omitted.",
|
|
354
|
+
"type": "value",
|
|
355
|
+
"value": "<integer>"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
166
358
|
"styleDeclaration": [
|
|
167
359
|
"line-clamp",
|
|
168
360
|
"lineClamp"
|
|
169
361
|
]
|
|
170
362
|
},
|
|
171
|
-
|
|
363
|
+
{
|
|
172
364
|
"name": "-webkit-line-clamp",
|
|
173
365
|
"value": "none | <integer>",
|
|
174
366
|
"initial": "none",
|
|
@@ -184,7 +376,7 @@
|
|
|
184
376
|
"webkitLineClamp"
|
|
185
377
|
]
|
|
186
378
|
},
|
|
187
|
-
|
|
379
|
+
{
|
|
188
380
|
"name": "continue",
|
|
189
381
|
"value": "auto | discard | -webkit-discard",
|
|
190
382
|
"initial": "auto",
|
|
@@ -194,11 +386,31 @@
|
|
|
194
386
|
"computedValue": "specified keyword",
|
|
195
387
|
"canonicalOrder": "per grammar",
|
|
196
388
|
"animationType": "discrete",
|
|
389
|
+
"values": [
|
|
390
|
+
{
|
|
391
|
+
"name": "-webkit-discard",
|
|
392
|
+
"prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the computed value of the display property on the parent is -webkit-box or -webkit-inline-box and the computed value of the -webkit-box-orient property on the parent is vertical.",
|
|
393
|
+
"type": "value",
|
|
394
|
+
"value": "-webkit-discard"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "auto",
|
|
398
|
+
"prose": "If the box has more content than can fit, the excess content is handled according to the usual rules.",
|
|
399
|
+
"type": "value",
|
|
400
|
+
"value": "auto"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "discard",
|
|
404
|
+
"prose": "The box becomes a fragmentation container that captures region breaks, if it is not already. [CSS-BREAK-3] Content after the first region break is not rendered (see below). (If the box is a multi-column container, any overflow columns are also not rendered.)",
|
|
405
|
+
"type": "value",
|
|
406
|
+
"value": "discard"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
197
409
|
"styleDeclaration": [
|
|
198
410
|
"continue"
|
|
199
411
|
]
|
|
200
412
|
},
|
|
201
|
-
|
|
413
|
+
{
|
|
202
414
|
"name": "max-lines",
|
|
203
415
|
"value": "none | <integer [1,∞]>",
|
|
204
416
|
"initial": "none",
|
|
@@ -208,12 +420,21 @@
|
|
|
208
420
|
"computedValue": "the keyword none or an integer",
|
|
209
421
|
"canonicalOrder": "per grammar",
|
|
210
422
|
"animationType": "by computed value type",
|
|
423
|
+
"values": [
|
|
424
|
+
{
|
|
425
|
+
"name": "none",
|
|
426
|
+
"prose": "Otherwise, if the value of max-lines is not none, a region break is forced after its Nth descendant in-flow line box, where N is the specified value of max-lines. Only lines boxes in the same Block Formatting Context are counted: the contents of descendants that establish independent formatting contexts are skipped over while counting line boxes.",
|
|
427
|
+
"type": "value",
|
|
428
|
+
"value": "none"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
211
431
|
"styleDeclaration": [
|
|
212
432
|
"max-lines",
|
|
213
433
|
"maxLines"
|
|
214
434
|
]
|
|
215
435
|
}
|
|
216
|
-
|
|
217
|
-
"atrules":
|
|
218
|
-
"
|
|
436
|
+
],
|
|
437
|
+
"atrules": [],
|
|
438
|
+
"selectors": [],
|
|
439
|
+
"values": []
|
|
219
440
|
}
|
package/css-overscroll.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "CSS Overscroll Behavior Module Level 1",
|
|
4
4
|
"url": "https://drafts.csswg.org/css-overscroll-1/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "overscroll-behavior",
|
|
9
9
|
"value": "[ contain | none | auto ]{1,2}",
|
|
10
10
|
"initial": "auto auto",
|
|
@@ -15,12 +15,32 @@
|
|
|
15
15
|
"canonicalOrder": "per grammar",
|
|
16
16
|
"animationType": "discrete",
|
|
17
17
|
"media": "visual",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "contain",
|
|
21
|
+
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
22
|
+
"type": "value",
|
|
23
|
+
"value": "contain"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "none",
|
|
27
|
+
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
28
|
+
"type": "value",
|
|
29
|
+
"value": "none"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "auto",
|
|
33
|
+
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
34
|
+
"type": "value",
|
|
35
|
+
"value": "auto"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
18
38
|
"styleDeclaration": [
|
|
19
39
|
"overscroll-behavior",
|
|
20
40
|
"overscrollBehavior"
|
|
21
41
|
]
|
|
22
42
|
},
|
|
23
|
-
|
|
43
|
+
{
|
|
24
44
|
"name": "overscroll-behavior-x",
|
|
25
45
|
"value": "contain | none | auto",
|
|
26
46
|
"initial": "auto",
|
|
@@ -31,12 +51,32 @@
|
|
|
31
51
|
"canonicalOrder": "per grammar",
|
|
32
52
|
"animationType": "discrete",
|
|
33
53
|
"media": "visual",
|
|
54
|
+
"values": [
|
|
55
|
+
{
|
|
56
|
+
"name": "contain",
|
|
57
|
+
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
58
|
+
"type": "value",
|
|
59
|
+
"value": "contain"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "none",
|
|
63
|
+
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
64
|
+
"type": "value",
|
|
65
|
+
"value": "none"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "auto",
|
|
69
|
+
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
70
|
+
"type": "value",
|
|
71
|
+
"value": "auto"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
34
74
|
"styleDeclaration": [
|
|
35
75
|
"overscroll-behavior-x",
|
|
36
76
|
"overscrollBehaviorX"
|
|
37
77
|
]
|
|
38
78
|
},
|
|
39
|
-
|
|
79
|
+
{
|
|
40
80
|
"name": "overscroll-behavior-y",
|
|
41
81
|
"value": "contain | none | auto",
|
|
42
82
|
"initial": "auto",
|
|
@@ -47,12 +87,32 @@
|
|
|
47
87
|
"canonicalOrder": "per grammar",
|
|
48
88
|
"animationType": "discrete",
|
|
49
89
|
"media": "visual",
|
|
90
|
+
"values": [
|
|
91
|
+
{
|
|
92
|
+
"name": "contain",
|
|
93
|
+
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
94
|
+
"type": "value",
|
|
95
|
+
"value": "contain"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "none",
|
|
99
|
+
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
100
|
+
"type": "value",
|
|
101
|
+
"value": "none"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "auto",
|
|
105
|
+
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
106
|
+
"type": "value",
|
|
107
|
+
"value": "auto"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
50
110
|
"styleDeclaration": [
|
|
51
111
|
"overscroll-behavior-y",
|
|
52
112
|
"overscrollBehaviorY"
|
|
53
113
|
]
|
|
54
114
|
},
|
|
55
|
-
|
|
115
|
+
{
|
|
56
116
|
"name": "overscroll-behavior-inline",
|
|
57
117
|
"value": "contain | none | auto",
|
|
58
118
|
"initial": "auto",
|
|
@@ -63,12 +123,32 @@
|
|
|
63
123
|
"canonicalOrder": "per grammar",
|
|
64
124
|
"animationType": "discrete",
|
|
65
125
|
"media": "visual",
|
|
126
|
+
"values": [
|
|
127
|
+
{
|
|
128
|
+
"name": "contain",
|
|
129
|
+
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
130
|
+
"type": "value",
|
|
131
|
+
"value": "contain"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "none",
|
|
135
|
+
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
136
|
+
"type": "value",
|
|
137
|
+
"value": "none"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "auto",
|
|
141
|
+
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
142
|
+
"type": "value",
|
|
143
|
+
"value": "auto"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
66
146
|
"styleDeclaration": [
|
|
67
147
|
"overscroll-behavior-inline",
|
|
68
148
|
"overscrollBehaviorInline"
|
|
69
149
|
]
|
|
70
150
|
},
|
|
71
|
-
|
|
151
|
+
{
|
|
72
152
|
"name": "overscroll-behavior-block",
|
|
73
153
|
"value": "contain | none | auto",
|
|
74
154
|
"initial": "auto",
|
|
@@ -79,12 +159,33 @@
|
|
|
79
159
|
"canonicalOrder": "per grammar",
|
|
80
160
|
"animationType": "discrete",
|
|
81
161
|
"media": "visual",
|
|
162
|
+
"values": [
|
|
163
|
+
{
|
|
164
|
+
"name": "contain",
|
|
165
|
+
"prose": "This value indicates that the element must not perform non-local boundary default actions such as scroll chaining or navigation. The user agent must not perform scroll chaining to any ancestors along the scroll chain regardless of whether the scroll originated at this element or one of its descendants. This value must not modify the behavior of how local boundary default actions should behave, such as showing any overscroll affordances.",
|
|
166
|
+
"type": "value",
|
|
167
|
+
"value": "contain"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "none",
|
|
171
|
+
"prose": "This value implies the same behavior as contain and in addition this element must also not perform local boundary default actions such as showing any overscroll affordances.",
|
|
172
|
+
"type": "value",
|
|
173
|
+
"value": "none"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "auto",
|
|
177
|
+
"prose": "This value indicates that the user agent should perform the usual boundary default action with respect to scroll chaining, overscroll and navigation gestures.",
|
|
178
|
+
"type": "value",
|
|
179
|
+
"value": "auto"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
82
182
|
"styleDeclaration": [
|
|
83
183
|
"overscroll-behavior-block",
|
|
84
184
|
"overscrollBehaviorBlock"
|
|
85
185
|
]
|
|
86
186
|
}
|
|
87
|
-
|
|
88
|
-
"atrules":
|
|
89
|
-
"
|
|
187
|
+
],
|
|
188
|
+
"atrules": [],
|
|
189
|
+
"selectors": [],
|
|
190
|
+
"values": []
|
|
90
191
|
}
|