@webref/css 6.10.4 → 6.11.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/CSS.json +83 -8
- package/README.md +1 -0
- package/SVG.json +27 -0
- package/compat.json +75 -0
- package/compositing.json +22 -0
- package/css-align.json +59 -0
- package/css-anchor-position.json +80 -1
- package/css-animations-2.json +13 -0
- package/css-animations.json +34 -0
- package/css-backgrounds-4.json +12 -0
- package/css-backgrounds.json +78 -0
- package/css-borders.json +91 -0
- package/css-box.json +48 -0
- package/css-break.json +50 -0
- package/css-cascade-6.json +3 -0
- package/css-cascade.json +10 -0
- package/css-color-5.json +74 -0
- package/css-color-6.json +6 -0
- package/css-color-adjust.json +14 -0
- package/css-color.json +272 -0
- package/css-conditional-4.json +2 -0
- package/css-conditional-5.json +7 -0
- package/css-conditional.json +6 -0
- package/css-contain-3.json +27 -0
- package/css-contain.json +12 -0
- package/css-content.json +53 -0
- package/css-counter-styles.json +85 -0
- package/css-display.json +48 -0
- package/css-easing.json +24 -0
- package/css-env.json +11 -0
- package/css-exclusions.json +11 -0
- package/css-extensions.json +4 -0
- package/css-flexbox.json +24 -0
- package/css-fonts-5.json +46 -0
- package/css-fonts.json +205 -0
- package/css-gcpm-4.json +10 -4
- package/css-gcpm.json +13 -1
- package/css-grid-3.json +1 -0
- package/css-grid.json +88 -0
- package/css-highlight-api.json +3 -1
- package/css-images-4.json +49 -0
- package/css-images-5.json +3 -0
- package/css-images.json +46 -0
- package/css-inline.json +93 -0
- package/css-layout-api.json +1 -0
- package/css-line-grid.json +14 -0
- package/css-link-params.json +2 -0
- package/css-lists.json +34 -0
- package/css-logical.json +27 -0
- package/css-masking.json +69 -0
- package/css-multicol-2.json +5 -0
- package/css-multicol.json +19 -0
- package/css-namespaces.json +2 -0
- package/css-nav.json +10 -0
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +37 -1
- package/css-overflow.json +38 -0
- package/css-overscroll.json +20 -0
- package/css-page-floats.json +34 -0
- package/css-page.json +52 -0
- package/css-paint-api.json +1 -0
- package/css-position-4.json +5 -1
- package/css-position.json +50 -0
- package/css-properties-values-api.json +4 -0
- package/css-pseudo.json +23 -10
- package/css-regions.json +3 -0
- package/css-rhythm.json +15 -0
- package/css-round-display.json +8 -0
- package/css-ruby.json +22 -0
- package/css-scoping.json +8 -4
- package/css-scroll-anchoring.json +3 -0
- package/css-scroll-snap-2.json +55 -5
- package/css-scroll-snap.json +53 -0
- package/css-scrollbars.json +7 -0
- package/css-shadow-parts.json +1 -0
- package/css-shapes-2.json +34 -0
- package/css-shapes.json +22 -0
- package/css-size-adjust.json +4 -0
- package/css-sizing-4.json +59 -0
- package/css-sizing.json +42 -0
- package/css-speech.json +115 -0
- package/css-syntax.json +43 -0
- package/css-tables.json +5 -0
- package/css-text-4.json +161 -0
- package/css-text-decor-4.json +75 -0
- package/css-text-decor.json +32 -0
- package/css-text.json +70 -0
- package/css-transforms-2.json +37 -0
- package/css-transforms.json +26 -0
- package/css-transitions-2.json +4 -0
- package/css-transitions.json +9 -0
- package/css-ui.json +92 -0
- package/css-values-5.json +59 -0
- package/css-values.json +115 -0
- package/css-variables.json +2 -0
- package/css-view-transitions-2.json +8 -1
- package/css-view-transitions.json +15 -5
- package/css-viewport.json +43 -0
- package/css-will-change.json +6 -0
- package/css-writing-modes.json +26 -0
- package/fill-stroke.json +66 -0
- package/filter-effects-2.json +1 -0
- package/filter-effects.json +24 -0
- package/html.json +3 -0
- package/mathml-core.json +3 -0
- package/mediaqueries-5.json +121 -0
- package/mediaqueries.json +77 -0
- package/motion.json +32 -0
- package/package.json +1 -1
- package/scroll-animations.json +54 -0
- package/selectors.json +173 -72
- package/svg-strokes.json +3 -0
- package/upgrade-insecure-requests.json +2 -0
- package/webvtt.json +8 -4
package/css-scroll-snap.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "scroll-snap-type",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-type",
|
|
9
10
|
"value": "none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",
|
|
10
11
|
"initial": "none",
|
|
11
12
|
"appliesTo": "all elements",
|
|
@@ -18,48 +19,56 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "x",
|
|
20
21
|
"prose": "The scroll container snaps to snap positions in its horizontal axis only.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-x",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "x"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "y",
|
|
26
28
|
"prose": "The scroll container snaps to snap positions in its vertical axis only.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-y",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "y"
|
|
29
32
|
},
|
|
30
33
|
{
|
|
31
34
|
"name": "block",
|
|
32
35
|
"prose": "The scroll container snaps to snap positions in its block axis only.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-block",
|
|
33
37
|
"type": "value",
|
|
34
38
|
"value": "block"
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
"name": "inline",
|
|
38
42
|
"prose": "The scroll container snaps to snap positions in its inline axis only.",
|
|
43
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-inline",
|
|
39
44
|
"type": "value",
|
|
40
45
|
"value": "inline"
|
|
41
46
|
},
|
|
42
47
|
{
|
|
43
48
|
"name": "both",
|
|
44
49
|
"prose": "The scroll container snaps to snap positions in both of its axes independently (potentially snapping to different elements in each axis).",
|
|
50
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-both",
|
|
45
51
|
"type": "value",
|
|
46
52
|
"value": "both"
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
55
|
"name": "none",
|
|
50
56
|
"prose": "If specified on a scroll container, the scroll container must not snap.",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-none",
|
|
51
58
|
"type": "value",
|
|
52
59
|
"value": "none"
|
|
53
60
|
},
|
|
54
61
|
{
|
|
55
62
|
"name": "mandatory",
|
|
56
63
|
"prose": "If specified on a scroll container, the scroll container is required to be snapped to a snap position when there are no active scrolling operations. If a valid snap position exists then the scroll container must snap at the termination of a scroll (if none exist then no snapping occurs).",
|
|
64
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-mandatory",
|
|
57
65
|
"type": "value",
|
|
58
66
|
"value": "mandatory"
|
|
59
67
|
},
|
|
60
68
|
{
|
|
61
69
|
"name": "proximity",
|
|
62
70
|
"prose": "If specified on a scroll container, the scroll container may snap to a snap position at the termination of a scroll, at the discretion of the UA given the parameters of the scroll.",
|
|
71
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-type-proximity",
|
|
63
72
|
"type": "value",
|
|
64
73
|
"value": "proximity"
|
|
65
74
|
}
|
|
@@ -71,6 +80,7 @@
|
|
|
71
80
|
},
|
|
72
81
|
{
|
|
73
82
|
"name": "scroll-padding",
|
|
83
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding",
|
|
74
84
|
"value": "[ auto | <length-percentage [0,∞]> ]{1,4}",
|
|
75
85
|
"initial": "auto",
|
|
76
86
|
"appliesTo": "scroll containers",
|
|
@@ -83,12 +93,14 @@
|
|
|
83
93
|
{
|
|
84
94
|
"name": "<length-percentage [0,∞]>",
|
|
85
95
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
96
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
86
97
|
"type": "value",
|
|
87
98
|
"value": "<length-percentage [0,∞]>"
|
|
88
99
|
},
|
|
89
100
|
{
|
|
90
101
|
"name": "auto",
|
|
91
102
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
103
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
92
104
|
"type": "value",
|
|
93
105
|
"value": "auto"
|
|
94
106
|
}
|
|
@@ -100,6 +112,7 @@
|
|
|
100
112
|
},
|
|
101
113
|
{
|
|
102
114
|
"name": "scroll-margin",
|
|
115
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin",
|
|
103
116
|
"value": "<length>{1,4}",
|
|
104
117
|
"initial": "0",
|
|
105
118
|
"appliesTo": "all elements",
|
|
@@ -115,6 +128,7 @@
|
|
|
115
128
|
},
|
|
116
129
|
{
|
|
117
130
|
"name": "scroll-snap-align",
|
|
131
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-align",
|
|
118
132
|
"value": "[ none | start | end | center ]{1,2}",
|
|
119
133
|
"initial": "none",
|
|
120
134
|
"appliesTo": "all elements",
|
|
@@ -127,24 +141,28 @@
|
|
|
127
141
|
{
|
|
128
142
|
"name": "none",
|
|
129
143
|
"prose": "This box does not define a snap position in the specified axis.",
|
|
144
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-none",
|
|
130
145
|
"type": "value",
|
|
131
146
|
"value": "none"
|
|
132
147
|
},
|
|
133
148
|
{
|
|
134
149
|
"name": "start",
|
|
135
150
|
"prose": "Start alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
|
|
151
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-start",
|
|
136
152
|
"type": "value",
|
|
137
153
|
"value": "start"
|
|
138
154
|
},
|
|
139
155
|
{
|
|
140
156
|
"name": "end",
|
|
141
157
|
"prose": "End alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
|
|
158
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-end",
|
|
142
159
|
"type": "value",
|
|
143
160
|
"value": "end"
|
|
144
161
|
},
|
|
145
162
|
{
|
|
146
163
|
"name": "center",
|
|
147
164
|
"prose": "Center alignment of this box’s scroll snap area within the scroll container’s snapport is a snap position in the specified axis.",
|
|
165
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-align-center",
|
|
148
166
|
"type": "value",
|
|
149
167
|
"value": "center"
|
|
150
168
|
}
|
|
@@ -156,6 +174,7 @@
|
|
|
156
174
|
},
|
|
157
175
|
{
|
|
158
176
|
"name": "scroll-snap-stop",
|
|
177
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-snap-stop",
|
|
159
178
|
"value": "normal | always",
|
|
160
179
|
"initial": "normal",
|
|
161
180
|
"appliesTo": "all elements",
|
|
@@ -168,12 +187,14 @@
|
|
|
168
187
|
{
|
|
169
188
|
"name": "normal",
|
|
170
189
|
"prose": "The scroll container may pass over a snap position defined by this element during the execution of a scrolling operation.",
|
|
190
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-stop-normal",
|
|
171
191
|
"type": "value",
|
|
172
192
|
"value": "normal"
|
|
173
193
|
},
|
|
174
194
|
{
|
|
175
195
|
"name": "always",
|
|
176
196
|
"prose": "The scroll container must not pass over a snap position defined by this element during the execution of a scrolling operation; it must instead snap to the first of this element’s snap positions.",
|
|
197
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-snap-stop-always",
|
|
177
198
|
"type": "value",
|
|
178
199
|
"value": "always"
|
|
179
200
|
}
|
|
@@ -185,6 +206,7 @@
|
|
|
185
206
|
},
|
|
186
207
|
{
|
|
187
208
|
"name": "scroll-padding-top",
|
|
209
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-top",
|
|
188
210
|
"value": "auto | <length-percentage [0,∞]>",
|
|
189
211
|
"initial": "auto",
|
|
190
212
|
"appliesTo": "scroll containers",
|
|
@@ -201,6 +223,7 @@
|
|
|
201
223
|
},
|
|
202
224
|
{
|
|
203
225
|
"name": "scroll-padding-right",
|
|
226
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-right",
|
|
204
227
|
"value": "auto | <length-percentage [0,∞]>",
|
|
205
228
|
"initial": "auto",
|
|
206
229
|
"appliesTo": "scroll containers",
|
|
@@ -217,6 +240,7 @@
|
|
|
217
240
|
},
|
|
218
241
|
{
|
|
219
242
|
"name": "scroll-padding-bottom",
|
|
243
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-bottom",
|
|
220
244
|
"value": "auto | <length-percentage [0,∞]>",
|
|
221
245
|
"initial": "auto",
|
|
222
246
|
"appliesTo": "scroll containers",
|
|
@@ -233,6 +257,7 @@
|
|
|
233
257
|
},
|
|
234
258
|
{
|
|
235
259
|
"name": "scroll-padding-left",
|
|
260
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-left",
|
|
236
261
|
"value": "auto | <length-percentage [0,∞]>",
|
|
237
262
|
"initial": "auto",
|
|
238
263
|
"appliesTo": "scroll containers",
|
|
@@ -249,6 +274,7 @@
|
|
|
249
274
|
},
|
|
250
275
|
{
|
|
251
276
|
"name": "scroll-padding-inline-start",
|
|
277
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline-start",
|
|
252
278
|
"value": "auto | <length-percentage [0,∞]>",
|
|
253
279
|
"initial": "auto",
|
|
254
280
|
"appliesTo": "scroll containers",
|
|
@@ -262,12 +288,14 @@
|
|
|
262
288
|
{
|
|
263
289
|
"name": "<length-percentage [0,∞]>",
|
|
264
290
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
291
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
265
292
|
"type": "value",
|
|
266
293
|
"value": "<length-percentage [0,∞]>"
|
|
267
294
|
},
|
|
268
295
|
{
|
|
269
296
|
"name": "auto",
|
|
270
297
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
298
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
271
299
|
"type": "value",
|
|
272
300
|
"value": "auto"
|
|
273
301
|
}
|
|
@@ -279,6 +307,7 @@
|
|
|
279
307
|
},
|
|
280
308
|
{
|
|
281
309
|
"name": "scroll-padding-block-start",
|
|
310
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block-start",
|
|
282
311
|
"value": "auto | <length-percentage [0,∞]>",
|
|
283
312
|
"initial": "auto",
|
|
284
313
|
"appliesTo": "scroll containers",
|
|
@@ -292,12 +321,14 @@
|
|
|
292
321
|
{
|
|
293
322
|
"name": "<length-percentage [0,∞]>",
|
|
294
323
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
324
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
295
325
|
"type": "value",
|
|
296
326
|
"value": "<length-percentage [0,∞]>"
|
|
297
327
|
},
|
|
298
328
|
{
|
|
299
329
|
"name": "auto",
|
|
300
330
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
331
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
301
332
|
"type": "value",
|
|
302
333
|
"value": "auto"
|
|
303
334
|
}
|
|
@@ -309,6 +340,7 @@
|
|
|
309
340
|
},
|
|
310
341
|
{
|
|
311
342
|
"name": "scroll-padding-inline-end",
|
|
343
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline-end",
|
|
312
344
|
"value": "auto | <length-percentage [0,∞]>",
|
|
313
345
|
"initial": "auto",
|
|
314
346
|
"appliesTo": "scroll containers",
|
|
@@ -322,12 +354,14 @@
|
|
|
322
354
|
{
|
|
323
355
|
"name": "<length-percentage [0,∞]>",
|
|
324
356
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
357
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
325
358
|
"type": "value",
|
|
326
359
|
"value": "<length-percentage [0,∞]>"
|
|
327
360
|
},
|
|
328
361
|
{
|
|
329
362
|
"name": "auto",
|
|
330
363
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
364
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
331
365
|
"type": "value",
|
|
332
366
|
"value": "auto"
|
|
333
367
|
}
|
|
@@ -339,6 +373,7 @@
|
|
|
339
373
|
},
|
|
340
374
|
{
|
|
341
375
|
"name": "scroll-padding-block-end",
|
|
376
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block-end",
|
|
342
377
|
"value": "auto | <length-percentage [0,∞]>",
|
|
343
378
|
"initial": "auto",
|
|
344
379
|
"appliesTo": "scroll containers",
|
|
@@ -352,12 +387,14 @@
|
|
|
352
387
|
{
|
|
353
388
|
"name": "<length-percentage [0,∞]>",
|
|
354
389
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
390
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
355
391
|
"type": "value",
|
|
356
392
|
"value": "<length-percentage [0,∞]>"
|
|
357
393
|
},
|
|
358
394
|
{
|
|
359
395
|
"name": "auto",
|
|
360
396
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
397
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
361
398
|
"type": "value",
|
|
362
399
|
"value": "auto"
|
|
363
400
|
}
|
|
@@ -369,6 +406,7 @@
|
|
|
369
406
|
},
|
|
370
407
|
{
|
|
371
408
|
"name": "scroll-padding-block",
|
|
409
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-block",
|
|
372
410
|
"value": "[ auto | <length-percentage [0,∞]> ]{1,2}",
|
|
373
411
|
"initial": "auto",
|
|
374
412
|
"appliesTo": "scroll containers",
|
|
@@ -381,12 +419,14 @@
|
|
|
381
419
|
{
|
|
382
420
|
"name": "<length-percentage [0,∞]>",
|
|
383
421
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
422
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
384
423
|
"type": "value",
|
|
385
424
|
"value": "<length-percentage [0,∞]>"
|
|
386
425
|
},
|
|
387
426
|
{
|
|
388
427
|
"name": "auto",
|
|
389
428
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
429
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
390
430
|
"type": "value",
|
|
391
431
|
"value": "auto"
|
|
392
432
|
}
|
|
@@ -398,6 +438,7 @@
|
|
|
398
438
|
},
|
|
399
439
|
{
|
|
400
440
|
"name": "scroll-padding-inline",
|
|
441
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-padding-inline",
|
|
401
442
|
"value": "[ auto | <length-percentage [0,∞]> ]{1,2}",
|
|
402
443
|
"initial": "auto",
|
|
403
444
|
"appliesTo": "scroll containers",
|
|
@@ -410,12 +451,14 @@
|
|
|
410
451
|
{
|
|
411
452
|
"name": "<length-percentage [0,∞]>",
|
|
412
453
|
"prose": "Defines an inward offset from the corresponding edge of the scrollport. When applied to the root viewport, the offset is calculated and applied relative to the layout viewport (rather than the visual viewport) the same way as the corresponding inset properties on fixed-positioned boxes; the optimal viewing region is the remaining area that intersects with the visual viewport.",
|
|
454
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-length-percentage-0",
|
|
413
455
|
"type": "value",
|
|
414
456
|
"value": "<length-percentage [0,∞]>"
|
|
415
457
|
},
|
|
416
458
|
{
|
|
417
459
|
"name": "auto",
|
|
418
460
|
"prose": "Indicates that the offset for the corresponding edge of the scrollport is UA-determined. This should generally default to a used length of 0px, but UAs may use heuristics to detect when a non-zero value is more appropriate. For example, a UA could detect when a position:fixed element is being used as an opaque unscrollable “header” that obscures the content below it, and resolve the top offset to the height of that element so that a “page down” operation (such as pressing PgDn) automatically scrolls by one “visible page” of content.",
|
|
461
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#valdef-scroll-padding-auto",
|
|
419
462
|
"type": "value",
|
|
420
463
|
"value": "auto"
|
|
421
464
|
}
|
|
@@ -427,6 +470,7 @@
|
|
|
427
470
|
},
|
|
428
471
|
{
|
|
429
472
|
"name": "scroll-margin-top",
|
|
473
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-top",
|
|
430
474
|
"value": "<length>",
|
|
431
475
|
"initial": "0",
|
|
432
476
|
"appliesTo": "all elements",
|
|
@@ -443,6 +487,7 @@
|
|
|
443
487
|
},
|
|
444
488
|
{
|
|
445
489
|
"name": "scroll-margin-right",
|
|
490
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-right",
|
|
446
491
|
"value": "<length>",
|
|
447
492
|
"initial": "0",
|
|
448
493
|
"appliesTo": "all elements",
|
|
@@ -459,6 +504,7 @@
|
|
|
459
504
|
},
|
|
460
505
|
{
|
|
461
506
|
"name": "scroll-margin-bottom",
|
|
507
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-bottom",
|
|
462
508
|
"value": "<length>",
|
|
463
509
|
"initial": "0",
|
|
464
510
|
"appliesTo": "all elements",
|
|
@@ -475,6 +521,7 @@
|
|
|
475
521
|
},
|
|
476
522
|
{
|
|
477
523
|
"name": "scroll-margin-left",
|
|
524
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-left",
|
|
478
525
|
"value": "<length>",
|
|
479
526
|
"initial": "0",
|
|
480
527
|
"appliesTo": "all elements",
|
|
@@ -491,6 +538,7 @@
|
|
|
491
538
|
},
|
|
492
539
|
{
|
|
493
540
|
"name": "scroll-margin-block-start",
|
|
541
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-start",
|
|
494
542
|
"value": "<length>",
|
|
495
543
|
"initial": "0",
|
|
496
544
|
"appliesTo": "all elements",
|
|
@@ -507,6 +555,7 @@
|
|
|
507
555
|
},
|
|
508
556
|
{
|
|
509
557
|
"name": "scroll-margin-inline-start",
|
|
558
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline-start",
|
|
510
559
|
"value": "<length>",
|
|
511
560
|
"initial": "0",
|
|
512
561
|
"appliesTo": "all elements",
|
|
@@ -523,6 +572,7 @@
|
|
|
523
572
|
},
|
|
524
573
|
{
|
|
525
574
|
"name": "scroll-margin-block-end",
|
|
575
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block-end",
|
|
526
576
|
"value": "<length>",
|
|
527
577
|
"initial": "0",
|
|
528
578
|
"appliesTo": "all elements",
|
|
@@ -539,6 +589,7 @@
|
|
|
539
589
|
},
|
|
540
590
|
{
|
|
541
591
|
"name": "scroll-margin-inline-end",
|
|
592
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline-end",
|
|
542
593
|
"value": "<length>",
|
|
543
594
|
"initial": "0",
|
|
544
595
|
"appliesTo": "all elements",
|
|
@@ -555,6 +606,7 @@
|
|
|
555
606
|
},
|
|
556
607
|
{
|
|
557
608
|
"name": "scroll-margin-block",
|
|
609
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-block",
|
|
558
610
|
"value": "<length>{1,2}",
|
|
559
611
|
"initial": "0",
|
|
560
612
|
"appliesTo": "all elements",
|
|
@@ -570,6 +622,7 @@
|
|
|
570
622
|
},
|
|
571
623
|
{
|
|
572
624
|
"name": "scroll-margin-inline",
|
|
625
|
+
"href": "https://drafts.csswg.org/css-scroll-snap-1/#propdef-scroll-margin-inline",
|
|
573
626
|
"value": "<length>{1,2}",
|
|
574
627
|
"initial": "0",
|
|
575
628
|
"appliesTo": "all elements",
|
package/css-scrollbars.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "scrollbar-color",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#propdef-scrollbar-color",
|
|
9
10
|
"value": "auto | <color>{2}",
|
|
10
11
|
"initial": "auto",
|
|
11
12
|
"appliesTo": "scroll containers",
|
|
@@ -18,12 +19,14 @@
|
|
|
18
19
|
{
|
|
19
20
|
"name": "auto",
|
|
20
21
|
"prose": "The user agent determines the colors of the scrollbar. It should follow platform conventions, but may adjust the colors in accordance with color-scheme or other contextual information to better suit the page.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#valdef-scrollbar-color-auto",
|
|
21
23
|
"type": "value",
|
|
22
24
|
"value": "auto"
|
|
23
25
|
},
|
|
24
26
|
{
|
|
25
27
|
"name": "<color>",
|
|
26
28
|
"prose": "The user agent should use the specified colors to adjust the rendering of the element’s scollbars, if any, applying the first color to the thumb of the scrollbar, and the second color to the track of the scrollbar.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#valdef-scrollbar-color-color",
|
|
27
30
|
"type": "value",
|
|
28
31
|
"value": "<color>"
|
|
29
32
|
}
|
|
@@ -35,6 +38,7 @@
|
|
|
35
38
|
},
|
|
36
39
|
{
|
|
37
40
|
"name": "scrollbar-width",
|
|
41
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#propdef-scrollbar-width",
|
|
38
42
|
"value": "auto | thin | none",
|
|
39
43
|
"initial": "auto",
|
|
40
44
|
"appliesTo": "scroll containers",
|
|
@@ -47,18 +51,21 @@
|
|
|
47
51
|
{
|
|
48
52
|
"name": "auto",
|
|
49
53
|
"prose": "Implementations must use the default scrollbar width.",
|
|
54
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#valdef-scrollbar-width-auto",
|
|
50
55
|
"type": "value",
|
|
51
56
|
"value": "auto"
|
|
52
57
|
},
|
|
53
58
|
{
|
|
54
59
|
"name": "thin",
|
|
55
60
|
"prose": "Implementations should use thinner scrollbars than auto. This may mean a thin variant of scrollbar provided by the platform, or a custom scrollbar thinner than the default platform scrollbar. The scrollbar must nonetheless remain wide enough to be usable. (Implementers may wish to consult WCAG 2.1 SC 2.5.5 Target Size. [WCAG21]) User agents may disregard this value and treat it as auto, for instance when the user has indicated discomfort for thin scrollbars through some UA or OS setting. (User agents are encouraged to provide such a setting.)",
|
|
61
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#valdef-scrollbar-width-thin",
|
|
56
62
|
"type": "value",
|
|
57
63
|
"value": "thin"
|
|
58
64
|
},
|
|
59
65
|
{
|
|
60
66
|
"name": "none",
|
|
61
67
|
"prose": "Implementations must not display any scrollbar, however the element’s scrollability by other means is not affected. Using this value can prevent mouse-only users from being able to scroll. Authors should ensure that mouse-only users can still reach hidden content, even if they have no scrollwheel. Authors that use none should provide an alternative/equivalent visual hint that scrolling is possible and there is more content.",
|
|
68
|
+
"href": "https://drafts.csswg.org/css-scrollbars-1/#valdef-scrollbar-width-none",
|
|
62
69
|
"type": "value",
|
|
63
70
|
"value": "none"
|
|
64
71
|
}
|
package/css-shadow-parts.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "::part()",
|
|
11
11
|
"prose": "The ::part() pseudo-element allows you to select elements that have been exposed via a part attribute. The syntax is:",
|
|
12
|
+
"href": "https://drafts.csswg.org/css-shadow-parts-1/#selectordef-part",
|
|
12
13
|
"value": "::part( <ident>+ )"
|
|
13
14
|
}
|
|
14
15
|
],
|