@webref/css 6.5.2 → 6.5.5
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-animations-2.json +1 -1
- package/css-contain-3.json +17 -10
- package/css-images-4.json +27 -7
- package/css-images.json +22 -2
- package/css-position-4.json +2 -2
- package/package.json +1 -1
- package/scroll-animations.json +79 -9
package/css-animations-2.json
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"name": "<custom-ident>",
|
|
94
|
-
"prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § 4.2 Named Timeline Scoping. Otherwise the animation is not associated with a timeline.",
|
|
94
|
+
"prose": "If a named scroll progress timeline or view progress timeline is in scope on this element, use the referenced timeline as defined in Scroll-driven Animations § 4.2 Named Timeline Scoping and Lookup. Otherwise the animation is not associated with a timeline.",
|
|
95
95
|
"type": "value",
|
|
96
96
|
"value": "<custom-ident>"
|
|
97
97
|
},
|
package/css-contain-3.json
CHANGED
|
@@ -96,6 +96,21 @@
|
|
|
96
96
|
"styleDeclaration": [
|
|
97
97
|
"container"
|
|
98
98
|
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "content-visibility",
|
|
102
|
+
"value": "visible | auto | hidden",
|
|
103
|
+
"initial": "visible",
|
|
104
|
+
"appliesTo": "elements for which size containment can apply",
|
|
105
|
+
"inherited": "no",
|
|
106
|
+
"percentages": "n/a",
|
|
107
|
+
"computedValue": "as specified",
|
|
108
|
+
"canonicalOrder": "per grammar",
|
|
109
|
+
"animationType": "see § 8.1 Animating and Interpolating content-visibility",
|
|
110
|
+
"styleDeclaration": [
|
|
111
|
+
"content-visibility",
|
|
112
|
+
"contentVisibility"
|
|
113
|
+
]
|
|
99
114
|
}
|
|
100
115
|
],
|
|
101
116
|
"atrules": [
|
|
@@ -189,22 +204,14 @@
|
|
|
189
204
|
"type": "type",
|
|
190
205
|
"value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
|
|
191
206
|
},
|
|
192
|
-
{
|
|
193
|
-
"name": "<style-feature>",
|
|
194
|
-
"type": "type",
|
|
195
|
-
"value": "<ident> : <declaration-value> | <ident>"
|
|
196
|
-
},
|
|
197
207
|
{
|
|
198
208
|
"name": "<size-feature>",
|
|
199
209
|
"prose": "A container size query allows querying the size of the query container’s principal box. It is a boolean combination of individual size features (<size-feature>) that each query a single, specific dimensional feature of the query container. The syntax of a <size-feature> is the same as for a media feature: a feature name, a comparator, and a value. [mediaqueries-5] The boolean syntax and logic combining size features into a size query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])",
|
|
200
210
|
"type": "type"
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"warnings": [
|
|
211
|
+
},
|
|
204
212
|
{
|
|
205
|
-
"msg": "Duplicate definition",
|
|
206
213
|
"name": "<style-feature>",
|
|
207
|
-
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is the same as for a declaration [CSS-SYNTAX-3],
|
|
214
|
+
"prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is either the same as for a valid declaration [CSS-SYNTAX-3], a supported CSS property, or a <custom-property-name>.",
|
|
208
215
|
"type": "type"
|
|
209
216
|
}
|
|
210
217
|
]
|
package/css-images-4.json
CHANGED
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
"value": "[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> ]"
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
|
-
"name": "linear-gradient
|
|
153
|
-
"type": "
|
|
154
|
-
"value": "
|
|
152
|
+
"name": "<linear-gradient-syntax>",
|
|
153
|
+
"type": "type",
|
|
154
|
+
"value": "[ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
"name": "<side-or-corner>",
|
|
@@ -159,14 +159,14 @@
|
|
|
159
159
|
"value": "[left | right] || [top | bottom]"
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
-
"name": "radial-gradient
|
|
163
|
-
"type": "
|
|
164
|
-
"value": "
|
|
162
|
+
"name": "<radial-gradient-syntax>",
|
|
163
|
+
"type": "type",
|
|
164
|
+
"value": "[ [ [ <rg-ending-shape> || <rg-size> ]? [ at <position> ]? ] || <color-interpolation-method>]? , <color-stop-list>"
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"name": "conic-gradient()",
|
|
168
168
|
"type": "function",
|
|
169
|
-
"value": "conic-gradient( [
|
|
169
|
+
"value": "conic-gradient( [ <conic-gradient-syntax> ] )",
|
|
170
170
|
"values": [
|
|
171
171
|
{
|
|
172
172
|
"name": "<angle>",
|
|
@@ -182,6 +182,11 @@
|
|
|
182
182
|
}
|
|
183
183
|
]
|
|
184
184
|
},
|
|
185
|
+
{
|
|
186
|
+
"name": "<conic-gradient-syntax>",
|
|
187
|
+
"type": "type",
|
|
188
|
+
"value": "[ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
|
|
189
|
+
},
|
|
185
190
|
{
|
|
186
191
|
"name": "repeating-linear-gradient()",
|
|
187
192
|
"prose": "In addition to linear-gradient(), radial-gradient(), and conic-gradient(), this specification defines repeating-linear-gradient(), repeating-radial-gradient(), and repeating-conic-gradient() values. These notations take the same values and are interpreted the same as their respective non-repeating siblings defined previously.",
|
|
@@ -211,6 +216,21 @@
|
|
|
211
216
|
}
|
|
212
217
|
]
|
|
213
218
|
},
|
|
219
|
+
{
|
|
220
|
+
"name": "<repeating-conic-gradient()>",
|
|
221
|
+
"type": "type",
|
|
222
|
+
"value": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "<repeating-linear-gradient()>",
|
|
226
|
+
"type": "type",
|
|
227
|
+
"value": "repeating-linear-gradient( [ <linear-gradient-syntax> ] )"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "<repeating-radial-gradient()>",
|
|
231
|
+
"type": "type",
|
|
232
|
+
"value": "repeating-radial-gradient( [ <radial-gradient-syntax> ] )"
|
|
233
|
+
},
|
|
214
234
|
{
|
|
215
235
|
"name": "<color-stop-list>",
|
|
216
236
|
"type": "type",
|
package/css-images.json
CHANGED
|
@@ -166,7 +166,12 @@
|
|
|
166
166
|
"name": "linear-gradient()",
|
|
167
167
|
"prose": "The linear-gradient() notation specifies a linear gradient in CSS. Its syntax is as follows:",
|
|
168
168
|
"type": "function",
|
|
169
|
-
"value": "linear-gradient( [ <
|
|
169
|
+
"value": "linear-gradient( [ <linear-gradient-syntax> ] )"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "<linear-gradient-syntax>",
|
|
173
|
+
"type": "type",
|
|
174
|
+
"value": "[ <angle> | to <side-or-corner> ]? , <color-stop-list>"
|
|
170
175
|
},
|
|
171
176
|
{
|
|
172
177
|
"name": "<side-or-corner>",
|
|
@@ -177,7 +182,7 @@
|
|
|
177
182
|
"name": "radial-gradient()",
|
|
178
183
|
"prose": "The radial-gradient() notation specifies a radial gradient by indicating the center of the gradient (where the 0% ellipse will be) and the size and shape of the ending shape (the 100% ellipse). Color stops are given as a list, just as for linear-gradient(). Starting from the gradient center and progressing towards (and potentially beyond) the ending shape, uniformly-scaled concentric ellipses are drawn and colored according to the specified color stops.",
|
|
179
184
|
"type": "function",
|
|
180
|
-
"value": "radial-gradient( [ <
|
|
185
|
+
"value": "radial-gradient( [ <radial-gradient-syntax> ] )",
|
|
181
186
|
"values": [
|
|
182
187
|
{
|
|
183
188
|
"name": "<position>",
|
|
@@ -199,6 +204,11 @@
|
|
|
199
204
|
}
|
|
200
205
|
]
|
|
201
206
|
},
|
|
207
|
+
{
|
|
208
|
+
"name": "<radial-gradient-syntax>",
|
|
209
|
+
"type": "type",
|
|
210
|
+
"value": "[ <rg-ending-shape> || <rg-size> ]? [ at <position> ]? , <color-stop-list>"
|
|
211
|
+
},
|
|
202
212
|
{
|
|
203
213
|
"name": "<rg-size>",
|
|
204
214
|
"type": "type",
|
|
@@ -296,6 +306,16 @@
|
|
|
296
306
|
}
|
|
297
307
|
]
|
|
298
308
|
},
|
|
309
|
+
{
|
|
310
|
+
"name": "<repeating-linear-gradient()>",
|
|
311
|
+
"type": "type",
|
|
312
|
+
"value": "repeating-linear-gradient( [ <linear-gradient-syntax> ] )"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "<repeating-radial-gradient()>",
|
|
316
|
+
"type": "type",
|
|
317
|
+
"value": "repeating-radial-gradient( [ <radial-gradient-syntax> ] )"
|
|
318
|
+
},
|
|
299
319
|
{
|
|
300
320
|
"name": "<color-stop-list>",
|
|
301
321
|
"type": "type",
|
package/css-position-4.json
CHANGED
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
"values": [
|
|
18
18
|
{
|
|
19
19
|
"name": "none",
|
|
20
|
-
"prose": "The element
|
|
20
|
+
"prose": "The element shouldn’t be in the top layer.",
|
|
21
21
|
"type": "value",
|
|
22
22
|
"value": "none"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "auto",
|
|
26
|
-
"prose": "The element
|
|
26
|
+
"prose": "The element should be in the top layer. Rather than generating boxes as part of its normal position in the document, it generates boxes as a sibling of the root element.",
|
|
27
27
|
"type": "value",
|
|
28
28
|
"value": "auto"
|
|
29
29
|
}
|
package/package.json
CHANGED
package/scroll-animations.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "scroll-timeline-name",
|
|
9
9
|
"value": "none | <custom-ident>#",
|
|
10
10
|
"initial": "none",
|
|
11
|
-
"appliesTo": "
|
|
11
|
+
"appliesTo": "all elements",
|
|
12
12
|
"inherited": "no",
|
|
13
13
|
"percentages": "n/a",
|
|
14
14
|
"computedValue": "the keyword none or a list of <custom-ident>s",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"name": "scroll-timeline-axis",
|
|
24
24
|
"value": "[ block | inline | vertical | horizontal ]#",
|
|
25
25
|
"initial": "block",
|
|
26
|
-
"appliesTo": "
|
|
26
|
+
"appliesTo": "all elements",
|
|
27
27
|
"inherited": "no",
|
|
28
28
|
"percentages": "n/a",
|
|
29
29
|
"computedValue": "a list of the keywords specified",
|
|
@@ -78,11 +78,46 @@
|
|
|
78
78
|
"scrollTimelineAxis"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"name": "scroll-timeline-attachment",
|
|
83
|
+
"value": "[ local | defer | ancestor ]#",
|
|
84
|
+
"initial": "local",
|
|
85
|
+
"appliesTo": "all elements",
|
|
86
|
+
"inherited": "no",
|
|
87
|
+
"percentages": "n/a",
|
|
88
|
+
"computedValue": "a list of the keywords specified",
|
|
89
|
+
"canonicalOrder": "per grammar",
|
|
90
|
+
"animationType": "not animatable",
|
|
91
|
+
"values": [
|
|
92
|
+
{
|
|
93
|
+
"name": "local",
|
|
94
|
+
"prose": "This scroll progress timeline name attaches to the corresponding scroll progress timeline defined on this box.",
|
|
95
|
+
"type": "value",
|
|
96
|
+
"value": "local"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "defer",
|
|
100
|
+
"prose": "This scroll progress timeline name’s attachment is deferred to its descendants. In other words, this element declares a scroll progress timeline’s name and defines its scope (see § 4.2 Named Timeline Scoping and Lookup), but defers the timeline’s definition (scroll container source and axis) to its descendants. If more than one matching descendant scroll progress timeline exists, or if no such timeline exists, then the timeline name has no attachment, and represents an inactive timeline. Should it instead be ignored (be invisible to lookup)? (This might make it harder to implement.) If multiple, should it attach instead to the last declared timeline (in tree order) rather than invalidating the attachment?",
|
|
101
|
+
"type": "value",
|
|
102
|
+
"value": "defer"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "ancestor",
|
|
106
|
+
"prose": "This scroll progress timeline definition, attaches to the closest matching scroll progress timeline name that was deferred (defer) by an ancestor (if any). If no such ancestor exists, the attachment is treated as local.",
|
|
107
|
+
"type": "value",
|
|
108
|
+
"value": "ancestor"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"styleDeclaration": [
|
|
112
|
+
"scroll-timeline-attachment",
|
|
113
|
+
"scrollTimelineAttachment"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
81
116
|
{
|
|
82
117
|
"name": "scroll-timeline",
|
|
83
|
-
"value": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'
|
|
118
|
+
"value": "[ <'scroll-timeline-name'> [ <'scroll-timeline-axis'> || <'scroll-timeline-attachment'> ]? ]#",
|
|
84
119
|
"initial": "see individual properties",
|
|
85
|
-
"appliesTo": "
|
|
120
|
+
"appliesTo": "all elements",
|
|
86
121
|
"inherited": "no",
|
|
87
122
|
"percentages": "see individual properties",
|
|
88
123
|
"computedValue": "see individual properties",
|
|
@@ -196,9 +231,44 @@
|
|
|
196
231
|
"viewTimelineInset"
|
|
197
232
|
]
|
|
198
233
|
},
|
|
234
|
+
{
|
|
235
|
+
"name": "view-timeline-attachment",
|
|
236
|
+
"value": "[ local | defer | ancestor ]#",
|
|
237
|
+
"initial": "local",
|
|
238
|
+
"appliesTo": "all elements",
|
|
239
|
+
"inherited": "no",
|
|
240
|
+
"percentages": "n/a",
|
|
241
|
+
"computedValue": "a list of the keywords specified",
|
|
242
|
+
"canonicalOrder": "per grammar",
|
|
243
|
+
"animationType": "not animatable",
|
|
244
|
+
"values": [
|
|
245
|
+
{
|
|
246
|
+
"name": "local",
|
|
247
|
+
"prose": "This view progress timeline name attaches to the corresponding view progress timeline defined on this box.",
|
|
248
|
+
"type": "value",
|
|
249
|
+
"value": "local"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "defer",
|
|
253
|
+
"prose": "This view progress timeline name’s attachment is deferred to its descendants. In other words, this element declares a view progress timeline’s name and defines its scope (see § 4.2 Named Timeline Scoping and Lookup), but defers the timeline’s definition (subject, scroll container source, axis, and visibility range) to its descendants. If more than one matching descendant view progress timeline exists, or if no such timeline exists, then this timeline name has no attachment, and represents an inactive timeline.",
|
|
254
|
+
"type": "value",
|
|
255
|
+
"value": "defer"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"name": "ancestor",
|
|
259
|
+
"prose": "This view progress timeline definition attaches to the closest matching view progress timeline name that was deferred (defer) by an ancestor (if any). If no such ancestor exists, the attachment is treated as local.",
|
|
260
|
+
"type": "value",
|
|
261
|
+
"value": "ancestor"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"styleDeclaration": [
|
|
265
|
+
"view-timeline-attachment",
|
|
266
|
+
"viewTimelineAttachment"
|
|
267
|
+
]
|
|
268
|
+
},
|
|
199
269
|
{
|
|
200
270
|
"name": "view-timeline",
|
|
201
|
-
"value": "[ <'view-timeline-name'> <'view-timeline-axis'
|
|
271
|
+
"value": "[ <'view-timeline-name'> [ <'view-timeline-axis'> || <'view-timeline-attachment'> ]? ]#",
|
|
202
272
|
"initial": "see individual properties",
|
|
203
273
|
"appliesTo": "all elements",
|
|
204
274
|
"inherited": "see individual properties",
|
|
@@ -381,7 +451,7 @@
|
|
|
381
451
|
{
|
|
382
452
|
"msg": "Dangling value",
|
|
383
453
|
"name": "cover",
|
|
384
|
-
"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.",
|
|
454
|
+
"prose": "Represents the full range of the view progress timeline: 0% progress represents the latest 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 earliest position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
|
|
385
455
|
"type": "value",
|
|
386
456
|
"value": "cover",
|
|
387
457
|
"for": "animation-timeline-range"
|
|
@@ -389,7 +459,7 @@
|
|
|
389
459
|
{
|
|
390
460
|
"msg": "Dangling value",
|
|
391
461
|
"name": "contain",
|
|
392
|
-
"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
|
|
462
|
+
"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 earliest position at which either: 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 latest position at which either: 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.",
|
|
393
463
|
"type": "value",
|
|
394
464
|
"value": "contain",
|
|
395
465
|
"for": "animation-timeline-range"
|
|
@@ -413,7 +483,7 @@
|
|
|
413
483
|
{
|
|
414
484
|
"msg": "Dangling value",
|
|
415
485
|
"name": "entry-crossing",
|
|
416
|
-
"prose": "Represents the range during which the principal box crosses the end border edge 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 end edge of its view progress visibility range.",
|
|
486
|
+
"prose": "Represents the range during which the principal box crosses the end border edge 0% progress represents the latest 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 earliest position at which the end border edge of the element’s principal box coincides with the end edge of its view progress visibility range.",
|
|
417
487
|
"type": "value",
|
|
418
488
|
"value": "entry-crossing",
|
|
419
489
|
"for": "animation-timeline-range"
|
|
@@ -421,7 +491,7 @@
|
|
|
421
491
|
{
|
|
422
492
|
"msg": "Dangling value",
|
|
423
493
|
"name": "exit-crossing",
|
|
424
|
-
"prose": "Represents the range during which the principal box crosses the start border edge 0% progress represents the position at which the start border edge of the element’s principal box coincides with the start 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.",
|
|
494
|
+
"prose": "Represents the range during which the principal box crosses the start border edge 0% progress represents the latest position at which the start border edge of the element’s principal box coincides with the start edge of its view progress visibility range. 100% progress represents the earliest position at which the end border edge of the element’s principal box coincides with the start edge of its view progress visibility range.",
|
|
425
495
|
"type": "value",
|
|
426
496
|
"value": "exit-crossing",
|
|
427
497
|
"for": "animation-timeline-range"
|