@webref/css 5.4.3 → 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 +150 -30
- 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 -11
- 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 +371 -30
- package/svg-strokes.json +8 -7
- package/upgrade-insecure-requests.json +26 -0
- package/html.json +0 -19
package/scroll-animations.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"title": "Scroll-linked Animations",
|
|
4
4
|
"url": "https://drafts.csswg.org/scroll-animations-1/"
|
|
5
5
|
},
|
|
6
|
-
"properties":
|
|
7
|
-
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
8
|
"name": "scroll-timeline-name",
|
|
9
9
|
"value": "none | <custom-ident>",
|
|
10
10
|
"initial": "none",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"scrollTimelineName"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
{
|
|
23
23
|
"name": "scroll-timeline-axis",
|
|
24
24
|
"value": "block | inline | vertical | horizontal",
|
|
25
25
|
"initial": "block",
|
|
@@ -29,12 +29,50 @@
|
|
|
29
29
|
"computedValue": "the specified keyword",
|
|
30
30
|
"canonicalOrder": "per grammar",
|
|
31
31
|
"animationType": "not animatable",
|
|
32
|
+
"values": [
|
|
33
|
+
{
|
|
34
|
+
"name": "block",
|
|
35
|
+
"prose": "Specifies to use the measure of progress along the block axis of the scroll container. (Default.)",
|
|
36
|
+
"type": "value",
|
|
37
|
+
"value": "block"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "inline",
|
|
41
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the scroll container.",
|
|
42
|
+
"type": "value",
|
|
43
|
+
"value": "inline"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "vertical",
|
|
47
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
|
|
48
|
+
"type": "value",
|
|
49
|
+
"value": "vertical"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "horizontal",
|
|
53
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
|
|
54
|
+
"type": "value",
|
|
55
|
+
"value": "horizontal"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "nearest",
|
|
59
|
+
"prose": "Specifies to use the nearest ancestor scroll container. (Default.)",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "nearest"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "root",
|
|
65
|
+
"prose": "Specifies to use the document viewport as the scroll container.",
|
|
66
|
+
"type": "value",
|
|
67
|
+
"value": "root"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
32
70
|
"styleDeclaration": [
|
|
33
71
|
"scroll-timeline-axis",
|
|
34
72
|
"scrollTimelineAxis"
|
|
35
73
|
]
|
|
36
74
|
},
|
|
37
|
-
|
|
75
|
+
{
|
|
38
76
|
"name": "scroll-timeline",
|
|
39
77
|
"value": "<'scroll-timeline-name'> || <'scroll-timeline-axis'>",
|
|
40
78
|
"initial": "see individual properties",
|
|
@@ -49,7 +87,7 @@
|
|
|
49
87
|
"scrollTimeline"
|
|
50
88
|
]
|
|
51
89
|
},
|
|
52
|
-
|
|
90
|
+
{
|
|
53
91
|
"name": "view-timeline-name",
|
|
54
92
|
"value": "none | <custom-ident>#",
|
|
55
93
|
"initial": "none",
|
|
@@ -64,7 +102,7 @@
|
|
|
64
102
|
"viewTimelineName"
|
|
65
103
|
]
|
|
66
104
|
},
|
|
67
|
-
|
|
105
|
+
{
|
|
68
106
|
"name": "view-timeline-axis",
|
|
69
107
|
"value": "[ block | inline | vertical | horizontal ]#",
|
|
70
108
|
"initial": "block",
|
|
@@ -74,12 +112,50 @@
|
|
|
74
112
|
"computedValue": "a list of the keywords specified",
|
|
75
113
|
"canonicalOrder": "per grammar",
|
|
76
114
|
"animationType": "not animatable",
|
|
115
|
+
"values": [
|
|
116
|
+
{
|
|
117
|
+
"name": "block",
|
|
118
|
+
"prose": "Specifies to use the measure of progress along the block axis of the scroll container. (Default.)",
|
|
119
|
+
"type": "value",
|
|
120
|
+
"value": "block"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "inline",
|
|
124
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the scroll container.",
|
|
125
|
+
"type": "value",
|
|
126
|
+
"value": "inline"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "vertical",
|
|
130
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
|
|
131
|
+
"type": "value",
|
|
132
|
+
"value": "vertical"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "horizontal",
|
|
136
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
|
|
137
|
+
"type": "value",
|
|
138
|
+
"value": "horizontal"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "nearest",
|
|
142
|
+
"prose": "Specifies to use the nearest ancestor scroll container. (Default.)",
|
|
143
|
+
"type": "value",
|
|
144
|
+
"value": "nearest"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "root",
|
|
148
|
+
"prose": "Specifies to use the document viewport as the scroll container.",
|
|
149
|
+
"type": "value",
|
|
150
|
+
"value": "root"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
77
153
|
"styleDeclaration": [
|
|
78
154
|
"view-timeline-axis",
|
|
79
155
|
"viewTimelineAxis"
|
|
80
156
|
]
|
|
81
157
|
},
|
|
82
|
-
|
|
158
|
+
{
|
|
83
159
|
"name": "view-timeline-inset",
|
|
84
160
|
"value": "[ [ auto | <length-percentage> ]{1,2} ]#",
|
|
85
161
|
"initial": "0",
|
|
@@ -89,12 +165,26 @@
|
|
|
89
165
|
"computedValue": "a list consisting of two-value pairs representing the start and end insets each as either the keyword auto or a computed <length-percentage> value",
|
|
90
166
|
"canonicalOrder": "per grammar",
|
|
91
167
|
"animationType": "by computed value type",
|
|
168
|
+
"values": [
|
|
169
|
+
{
|
|
170
|
+
"name": "auto",
|
|
171
|
+
"prose": "Indicates to use the value of scroll-padding.",
|
|
172
|
+
"type": "value",
|
|
173
|
+
"value": "auto"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "<length-percentage>",
|
|
177
|
+
"prose": "Like scroll-padding, defines an inward offset from the corresponding edge of the scrollport.",
|
|
178
|
+
"type": "value",
|
|
179
|
+
"value": "<length-percentage>"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
92
182
|
"styleDeclaration": [
|
|
93
183
|
"view-timeline-inset",
|
|
94
184
|
"viewTimelineInset"
|
|
95
185
|
]
|
|
96
186
|
},
|
|
97
|
-
|
|
187
|
+
{
|
|
98
188
|
"name": "view-timeline",
|
|
99
189
|
"value": "[ <'view-timeline-name'> || <'view-timeline-axis'> ]#",
|
|
100
190
|
"initial": "see individual properties",
|
|
@@ -109,7 +199,7 @@
|
|
|
109
199
|
"viewTimeline"
|
|
110
200
|
]
|
|
111
201
|
},
|
|
112
|
-
|
|
202
|
+
{
|
|
113
203
|
"name": "animation-delay",
|
|
114
204
|
"value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
|
|
115
205
|
"initial": "see individual properties",
|
|
@@ -124,7 +214,7 @@
|
|
|
124
214
|
"animationDelay"
|
|
125
215
|
]
|
|
126
216
|
},
|
|
127
|
-
|
|
217
|
+
{
|
|
128
218
|
"name": "animation-range",
|
|
129
219
|
"value": "[ <'animation-delay-start'> <'animation-delay-end'>? | <timeline-range-name> ]#",
|
|
130
220
|
"initial": "see individual properties",
|
|
@@ -139,7 +229,7 @@
|
|
|
139
229
|
"animationRange"
|
|
140
230
|
]
|
|
141
231
|
},
|
|
142
|
-
|
|
232
|
+
{
|
|
143
233
|
"name": "animation-delay-start",
|
|
144
234
|
"value": "[ <time> | <timeline-range-name> <percentage> ]#",
|
|
145
235
|
"initial": "0s",
|
|
@@ -149,12 +239,26 @@
|
|
|
149
239
|
"computedValue": "list, each item either a duration or a timeline range and progress percentage",
|
|
150
240
|
"canonicalOrder": "per grammar",
|
|
151
241
|
"animatable": "no",
|
|
242
|
+
"values": [
|
|
243
|
+
{
|
|
244
|
+
"name": "<time>",
|
|
245
|
+
"prose": "Defines the delay as a duration. See [CSS-ANIMATIONS-1].",
|
|
246
|
+
"type": "value",
|
|
247
|
+
"value": "<time>"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "<timeline-range-name> <percentage>",
|
|
251
|
+
"prose": "Calculates the delay as the difference between the start of the animation and the specified point on the timeline.",
|
|
252
|
+
"type": "value",
|
|
253
|
+
"value": "<timeline-range-name> <percentage>"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
152
256
|
"styleDeclaration": [
|
|
153
257
|
"animation-delay-start",
|
|
154
258
|
"animationDelayStart"
|
|
155
259
|
]
|
|
156
260
|
},
|
|
157
|
-
|
|
261
|
+
{
|
|
158
262
|
"name": "animation-delay-end",
|
|
159
263
|
"value": "[ <time> | <timeline-range-name> <percentage> ]",
|
|
160
264
|
"initial": "0s",
|
|
@@ -164,29 +268,126 @@
|
|
|
164
268
|
"computedValue": "list, each item either a duration or a timeline range and progress percentage",
|
|
165
269
|
"canonicalOrder": "per grammar",
|
|
166
270
|
"animatable": "no",
|
|
271
|
+
"values": [
|
|
272
|
+
{
|
|
273
|
+
"name": "<time>",
|
|
274
|
+
"prose": "Defines the delay as a duration. See [CSS-ANIMATIONS-1].",
|
|
275
|
+
"type": "value",
|
|
276
|
+
"value": "<time>"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "<timeline-range-name> <percentage>",
|
|
280
|
+
"prose": "Calculates the delay as the difference between the start of the animation and the specified point on the timeline.",
|
|
281
|
+
"type": "value",
|
|
282
|
+
"value": "<timeline-range-name> <percentage>"
|
|
283
|
+
}
|
|
284
|
+
],
|
|
167
285
|
"styleDeclaration": [
|
|
168
286
|
"animation-delay-end",
|
|
169
287
|
"animationDelayEnd"
|
|
170
288
|
]
|
|
171
289
|
}
|
|
172
|
-
|
|
173
|
-
"atrules":
|
|
174
|
-
"
|
|
175
|
-
|
|
290
|
+
],
|
|
291
|
+
"atrules": [],
|
|
292
|
+
"selectors": [],
|
|
293
|
+
"values": [
|
|
294
|
+
{
|
|
295
|
+
"name": "scroll()",
|
|
176
296
|
"prose": "The scroll() functional notation can be used as a value of animation-timeline and specifies a scroll progress timeline. Its syntax is",
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
297
|
+
"type": "function",
|
|
298
|
+
"value": "scroll( [ <scroller> || <axis> ]? )",
|
|
299
|
+
"values": [
|
|
300
|
+
{
|
|
301
|
+
"name": "block",
|
|
302
|
+
"prose": "Specifies to use the measure of progress along the block axis of the scroll container. (Default.)",
|
|
303
|
+
"type": "value",
|
|
304
|
+
"value": "block"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "inline",
|
|
308
|
+
"prose": "Specifies to use the measure of progress along the inline axis of the scroll container.",
|
|
309
|
+
"type": "value",
|
|
310
|
+
"value": "inline"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "vertical",
|
|
314
|
+
"prose": "Specifies to use the measure of progress along the vertical axis of the scroll container.",
|
|
315
|
+
"type": "value",
|
|
316
|
+
"value": "vertical"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "horizontal",
|
|
320
|
+
"prose": "Specifies to use the measure of progress along the horizontal axis of the scroll container.",
|
|
321
|
+
"type": "value",
|
|
322
|
+
"value": "horizontal"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "nearest",
|
|
326
|
+
"prose": "Specifies to use the nearest ancestor scroll container. (Default.)",
|
|
327
|
+
"type": "value",
|
|
328
|
+
"value": "nearest"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "root",
|
|
332
|
+
"prose": "Specifies to use the document viewport as the scroll container.",
|
|
333
|
+
"type": "value",
|
|
334
|
+
"value": "root"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
181
337
|
},
|
|
182
|
-
|
|
338
|
+
{
|
|
339
|
+
"name": "<axis>",
|
|
340
|
+
"type": "type",
|
|
183
341
|
"value": "block | inline | vertical | horizontal"
|
|
184
342
|
},
|
|
185
|
-
|
|
343
|
+
{
|
|
344
|
+
"name": "<scroller>",
|
|
345
|
+
"type": "type",
|
|
186
346
|
"value": "root | nearest"
|
|
187
347
|
},
|
|
188
|
-
|
|
348
|
+
{
|
|
349
|
+
"name": "<timeline-range-name>",
|
|
350
|
+
"prose": "A named timeline range is a named segment of an animation timeline. The start of the segment is represented as 0% progress through the range; the end of the segment is represented as 100% progress through the range. Multiple named timeline ranges can be attached to a given timeline, and multiple such ranges can overlap. For example, the contain range of a view progress timeline overlaps with its cover range. Named timeline ranges are represented by the <timeline-range-name> value type, which indicates a CSS identifier representing one of the predefined named timeline ranges.",
|
|
351
|
+
"type": "type"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"warnings": [
|
|
355
|
+
{
|
|
356
|
+
"msg": "Missing definition",
|
|
357
|
+
"name": "<keyframe-selector>",
|
|
189
358
|
"value": "from | to | <percentage> | <timeline-range-name> <percentage>"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"msg": "Dangling value",
|
|
362
|
+
"name": "cover",
|
|
363
|
+
"prose": "Represents the full range of the view progress timeline: 0% progress represents the position at which the start border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
|
|
364
|
+
"type": "value",
|
|
365
|
+
"value": "cover",
|
|
366
|
+
"for": "animation-timeline-range"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"msg": "Dangling value",
|
|
370
|
+
"name": "contain",
|
|
371
|
+
"prose": "Represents the range during which the principal box is either fully contained by, or fully covers, its view progress visibility range within the scrollport. 0% progress represents the earlier position at which: the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range. 100% progress represents the later position at which: the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
|
|
372
|
+
"type": "value",
|
|
373
|
+
"value": "contain",
|
|
374
|
+
"for": "animation-timeline-range"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"msg": "Dangling value",
|
|
378
|
+
"name": "entry",
|
|
379
|
+
"prose": "Represents the range during which the principal box is entering the view progress visibility range. 0% is equivalent to 0% of the cover range. 100% is equivalent to 0% of the contain range. Should this be entry or enter?",
|
|
380
|
+
"type": "value",
|
|
381
|
+
"value": "entry",
|
|
382
|
+
"for": "animation-timeline-range"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"msg": "Dangling value",
|
|
386
|
+
"name": "exit",
|
|
387
|
+
"prose": "Represents the range during which the principal box is exiting the view progress visibility range. 0% is equivalent to 100% of the contain range. 100% is equivalent to 100% of the cover range.",
|
|
388
|
+
"type": "value",
|
|
389
|
+
"value": "exit",
|
|
390
|
+
"for": "animation-timeline-range"
|
|
190
391
|
}
|
|
191
|
-
|
|
392
|
+
]
|
|
192
393
|
}
|