@webref/css 6.3.0 → 6.3.2

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.
@@ -62,19 +62,19 @@
62
62
  },
63
63
  {
64
64
  "name": "<custom-ident>",
65
- "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-linked Animations 1 § 4 Named Timeline Scoping. Otherwise the animation is not associated with a timeline.",
65
+ "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-linked Animations § 4 Named Timeline Scoping. Otherwise the animation is not associated with a timeline.",
66
66
  "type": "value",
67
67
  "value": "<custom-ident>"
68
68
  },
69
69
  {
70
70
  "name": "<scroll()>",
71
- "prose": "Use the scroll progress timeline indicated by the given scroll() function. See Scroll-linked Animations 1 § 2.1.1 The scroll() notation.",
71
+ "prose": "Use the scroll progress timeline indicated by the given scroll() function. See Scroll-linked Animations § 2.1.1 The scroll() notation.",
72
72
  "type": "value",
73
73
  "value": "<scroll()>"
74
74
  },
75
75
  {
76
76
  "name": "<view()>",
77
- "prose": "Use the view progress timeline indicated by the given view() function. See Scroll-linked Animations 1 § 3.2.1 The view() notation.",
77
+ "prose": "Use the view progress timeline indicated by the given view() function. See Scroll-linked Animations § 3.2.1 The view() notation.",
78
78
  "type": "value",
79
79
  "value": "<view()>"
80
80
  }
package/css-color-5.json CHANGED
@@ -71,25 +71,25 @@
71
71
  "values": [
72
72
  {
73
73
  "name": "r",
74
- "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. For <number>s, 255 (or 255.0) is equivalent to 100%.",
74
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
75
75
  "type": "value",
76
76
  "value": "r"
77
77
  },
78
78
  {
79
79
  "name": "g",
80
- "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. For <number>s, 255 (or 255.0) is equivalent to 100%.",
80
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
81
81
  "type": "value",
82
82
  "value": "g"
83
83
  },
84
84
  {
85
85
  "name": "b",
86
- "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. For <number>s, 255 (or 255.0) is equivalent to 100%.",
86
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
87
87
  "type": "value",
88
88
  "value": "b"
89
89
  },
90
90
  {
91
91
  "name": "alpha",
92
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
92
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
93
93
  "type": "value",
94
94
  "value": "alpha"
95
95
  }
@@ -107,25 +107,25 @@
107
107
  "values": [
108
108
  {
109
109
  "name": "h",
110
- "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after its conversion to sRGB, normalized to a [0deg, 360deg) range",
110
+ "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after its conversion to sRGB, normalized to a [0, 360] range",
111
111
  "type": "value",
112
112
  "value": "h"
113
113
  },
114
114
  {
115
115
  "name": "s",
116
- "prose": "s and l are <percentage>s or <number>s that correspond to the origin color’s HSL saturation and lightness after its conversion to sRGB",
116
+ "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after its conversion to sRGB",
117
117
  "type": "value",
118
118
  "value": "s"
119
119
  },
120
120
  {
121
121
  "name": "l",
122
- "prose": "s and l are <percentage>s or <number>s that correspond to the origin color’s HSL saturation and lightness after its conversion to sRGB",
122
+ "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after its conversion to sRGB",
123
123
  "type": "value",
124
124
  "value": "l"
125
125
  },
126
126
  {
127
127
  "name": "alpha",
128
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
128
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
129
129
  "type": "value",
130
130
  "value": "alpha"
131
131
  }
@@ -138,25 +138,25 @@
138
138
  "values": [
139
139
  {
140
140
  "name": "h",
141
- "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after its conversion to sRGB, normalized to a [0deg, 360deg) range",
141
+ "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after its conversion to sRGB, normalized to a [0, 360] range",
142
142
  "type": "value",
143
143
  "value": "h"
144
144
  },
145
145
  {
146
146
  "name": "w",
147
- "prose": "w and b are <percentage>s or <number>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
147
+ "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
148
148
  "type": "value",
149
149
  "value": "w"
150
150
  },
151
151
  {
152
152
  "name": "b",
153
- "prose": "w and b are <percentage>s or <number>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
153
+ "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
154
154
  "type": "value",
155
155
  "value": "b"
156
156
  },
157
157
  {
158
158
  "name": "alpha",
159
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
159
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
160
160
  "type": "value",
161
161
  "value": "alpha"
162
162
  }
@@ -169,25 +169,25 @@
169
169
  "values": [
170
170
  {
171
171
  "name": "l",
172
- "prose": "l is a <percentage> or <number> that corresponds to the origin color’s CIE Lightness",
172
+ "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness",
173
173
  "type": "value",
174
174
  "value": "l"
175
175
  },
176
176
  {
177
177
  "name": "a",
178
- "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s CIELab a and b axes",
178
+ "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes",
179
179
  "type": "value",
180
180
  "value": "a"
181
181
  },
182
182
  {
183
183
  "name": "b",
184
- "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s CIELab a and b axes",
184
+ "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes",
185
185
  "type": "value",
186
186
  "value": "b"
187
187
  },
188
188
  {
189
189
  "name": "alpha",
190
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
190
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
191
191
  "type": "value",
192
192
  "value": "alpha"
193
193
  }
@@ -200,25 +200,25 @@
200
200
  "values": [
201
201
  {
202
202
  "name": "l",
203
- "prose": "l is a <percentage> or <number> that corresponds to the origin color’s Oklab Lightness",
203
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness",
204
204
  "type": "value",
205
205
  "value": "l"
206
206
  },
207
207
  {
208
208
  "name": "a",
209
- "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s Oklab a and b axes",
209
+ "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes",
210
210
  "type": "value",
211
211
  "value": "a"
212
212
  },
213
213
  {
214
214
  "name": "b",
215
- "prose": "a and b are <percentage>s or <number>s that correspond to the origin color’s Oklab a and b axes",
215
+ "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes",
216
216
  "type": "value",
217
217
  "value": "b"
218
218
  },
219
219
  {
220
220
  "name": "alpha",
221
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
221
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
222
222
  "type": "value",
223
223
  "value": "alpha"
224
224
  }
@@ -231,25 +231,25 @@
231
231
  "values": [
232
232
  {
233
233
  "name": "l",
234
- "prose": "l is a <percentage> or <number> that corresponds to the origin color’s CIE Lightness",
234
+ "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness",
235
235
  "type": "value",
236
236
  "value": "l"
237
237
  },
238
238
  {
239
239
  "name": "c",
240
- "prose": "c is a <percentage> or <number> that corresponds to the origin color’s LCH chroma",
240
+ "prose": "c is a <number> that corresponds to the origin color’s LCH chroma",
241
241
  "type": "value",
242
242
  "value": "c"
243
243
  },
244
244
  {
245
245
  "name": "h",
246
- "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, normalized to a [0deg, 360deg) range.",
246
+ "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, normalized to a [0, 360] range.",
247
247
  "type": "value",
248
248
  "value": "h"
249
249
  },
250
250
  {
251
251
  "name": "alpha",
252
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
252
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
253
253
  "type": "value",
254
254
  "value": "alpha"
255
255
  }
@@ -262,25 +262,25 @@
262
262
  "values": [
263
263
  {
264
264
  "name": "l",
265
- "prose": "l is a <percentage> or <number> that corresponds to the origin color’s Oklab Lightness",
265
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness",
266
266
  "type": "value",
267
267
  "value": "l"
268
268
  },
269
269
  {
270
270
  "name": "c",
271
- "prose": "c is a <percentage> or <number> that corresponds to the origin color’s Oklch chroma",
271
+ "prose": "c is a <number> that corresponds to the origin color’s Oklch chroma",
272
272
  "type": "value",
273
273
  "value": "c"
274
274
  },
275
275
  {
276
276
  "name": "h",
277
- "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, normalized to a [0deg, 360deg) range.",
277
+ "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, normalized to a [0, 360] range.",
278
278
  "type": "value",
279
279
  "value": "h"
280
280
  },
281
281
  {
282
282
  "name": "alpha",
283
- "prose": "alpha is a <number> or <percentage> that corresponds to the origin color’s alpha transparency",
283
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency",
284
284
  "type": "value",
285
285
  "value": "alpha"
286
286
  }
@@ -293,37 +293,37 @@
293
293
  "values": [
294
294
  {
295
295
  "name": "r",
296
- "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
296
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
297
297
  "type": "value",
298
298
  "value": "r"
299
299
  },
300
300
  {
301
301
  "name": "g",
302
- "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
302
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
303
303
  "type": "value",
304
304
  "value": "g"
305
305
  },
306
306
  {
307
307
  "name": "b",
308
- "prose": "r, g, and b are all <percentage>s or <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
308
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
309
309
  "type": "value",
310
310
  "value": "b"
311
311
  },
312
312
  {
313
313
  "name": "x",
314
- "prose": "x, y, z are all <percentage>s or <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
314
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
315
315
  "type": "value",
316
316
  "value": "x"
317
317
  },
318
318
  {
319
319
  "name": "y",
320
- "prose": "x, y, z are all <percentage>s or <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
320
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
321
321
  "type": "value",
322
322
  "value": "y"
323
323
  },
324
324
  {
325
325
  "name": "z",
326
- "prose": "x, y, z are all <percentage>s or <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
326
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
327
327
  "type": "value",
328
328
  "value": "z"
329
329
  }
package/css-color-6.json CHANGED
@@ -41,7 +41,7 @@
41
41
  {
42
42
  "name": "<wcag2>",
43
43
  "type": "type",
44
- "value": "wcag | wcag2([<number> | [ aa | aaa ] && large? ])"
44
+ "value": "wcag2 | wcag2([<number> | [ aa | aaa ] && large? ])"
45
45
  }
46
46
  ]
47
47
  }
package/css-color.json CHANGED
@@ -1001,7 +1001,7 @@
1001
1001
  "values": [
1002
1002
  {
1003
1003
  "name": "Lab",
1004
- "prose": "Lab is a rectangular coordinate system with a central Lightness axis. This value is usually written as a unitless number; for compatibility with the rest of CSS, it is written as a percentage. 100% means an L value of 100, not 1.0. L=0% is deep black (no light at all) while L=100% is a diffuse white",
1004
+ "prose": "Lab is a rectangular coordinate system with a central Lightness (L) axis. This value is usually written as a unitless number; for compatibility with the rest of CSS, it may also be written as a percentage. 100% means an L value of 100, not 1.0. L=0% or 0 is deep black (no light at all) while L=100% or 100 is a diffuse white.",
1005
1005
  "type": "value",
1006
1006
  "value": "Lab"
1007
1007
  }
package/css-display.json CHANGED
@@ -28,7 +28,7 @@
28
28
  },
29
29
  {
30
30
  "name": "order",
31
- "value": "[ <'layout-order'> <'reading-order'>? ] | [ reading && <'reading-order'> ] | [ layout && <'layout-order'> ] | [ reading-and-layout && <integer> ]",
31
+ "value": "[ <'layout-order'> <'reading-order'>? ] | [ [ reading || layout ] && <integer> ]",
32
32
  "initial": "see individual properties",
33
33
  "appliesTo": "flex items and grid items",
34
34
  "inherited": "no",
@@ -38,16 +38,22 @@
38
38
  "canonicalOrder": "per grammar",
39
39
  "values": [
40
40
  {
41
- "name": "reading-and-layout",
42
- "prose": "The order property sets both layout-order and reading-order in a single declaration. Unless reading-and-layout is specified—in which case both <'reading-order'> and <'layout-order'> are set to the specified <integer> value—the omitted longhand is set to zero.",
41
+ "name": "<integer>",
42
+ "prose": "If one integer and no keyword is specified, then sets layout-order to the specified integer, and sets reading-order to its initial value. If two integers are specified, the first sets layout-order and the second sets reading-order. Otherwise sets the appropriate longhand(s) to the specified integer(s).",
43
43
  "type": "value",
44
- "value": "reading-and-layout"
44
+ "value": "<integer>"
45
45
  },
46
46
  {
47
- "name": "<integer>",
48
- "prose": "Specifically, the layout-order property controls the order in which flex items or grid items appear within their container by assigning them to the ordinal groups, as specified by its <integer> value.",
47
+ "name": "layout",
48
+ "prose": "Indicates setting layout-order to the specified integer. If reading is not specified, reading-order is set to its initial value.",
49
49
  "type": "value",
50
- "value": "<integer>"
50
+ "value": "layout"
51
+ },
52
+ {
53
+ "name": "reading",
54
+ "prose": "Indicates setting reading-order to the specified integer. If layout is not specified, layout-order is set to its initial value.",
55
+ "type": "value",
56
+ "value": "reading"
51
57
  }
52
58
  ],
53
59
  "styleDeclaration": [
@@ -87,6 +93,14 @@
87
93
  "computedValue": "specified integer",
88
94
  "canonicalOrder": "per grammar",
89
95
  "animationType": "by computed value type",
96
+ "values": [
97
+ {
98
+ "name": "<integer>",
99
+ "prose": "Specifically, the layout-order property controls the order in which flex items or grid items appear within their container by assigning them to the ordinal groups, as specified by its <integer> value.",
100
+ "type": "value",
101
+ "value": "<integer>"
102
+ }
103
+ ],
90
104
  "styleDeclaration": [
91
105
  "layout-order",
92
106
  "layoutOrder"
package/css-ui.json CHANGED
@@ -55,7 +55,7 @@
55
55
  "appliesTo": "all elements",
56
56
  "inherited": "no",
57
57
  "percentages": "N/A",
58
- "computedValue": "The computed value for invert is invert. For <color> values, see CSS Color 4 § 14 Resolving <color> Values in [CSS-COLOR-4]. For <image-1D> values, see CSS Images 4 § 4 1D Image Values: the <image-1D> type and stripes() notation in [CSS-IMAGES-4].",
58
+ "computedValue": "The computed value for invert is invert. For <color> values, see CSS Color 4 § 14. Resolving <color> Values in [CSS-COLOR-4]. For <image-1D> values, see CSS Images 4 § 4 1D Image Values: the <image-1D> type and stripes() notation in [CSS-IMAGES-4].",
59
59
  "canonicalOrder": "per grammar",
60
60
  "animationType": "by computed value",
61
61
  "values": [
package/css-values-5.json CHANGED
@@ -106,6 +106,23 @@
106
106
  "name": "<dimension-unit>",
107
107
  "prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
108
108
  "type": "type"
109
+ },
110
+ {
111
+ "name": "random()",
112
+ "prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
113
+ "type": "function",
114
+ "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? );"
115
+ },
116
+ {
117
+ "name": "<random-caching-options>",
118
+ "type": "type",
119
+ "value": "<dashed-ident> || per-element"
120
+ },
121
+ {
122
+ "name": "random-item()",
123
+ "prose": "The random-item() function resolves to a random item from among its list of items.",
124
+ "type": "function",
125
+ "value": "random-item( <random-caching-options> ';' <any-value> [ ';' <any-value> ]* )"
109
126
  }
110
127
  ]
111
128
  }
@@ -38,7 +38,7 @@
38
38
  "selectors": [
39
39
  {
40
40
  "name": "::view-transition",
41
- "prose": "This pseudo-element is the grouping container of all the other view-transition pseudo-elements. Its originating element is the document’s document element. The following is added to the HTML user agent style sheet: html::view-transition { position: fixed; inset: 0; }"
41
+ "prose": "A tree-abiding pseudo-element that is also a pseudo-element root. Its originating element is the document’s document element. Its containing block is the snapshot root. The following is added to the HTML user agent style sheet: html::view-transition { position: fixed; inset: 0; }"
42
42
  },
43
43
  {
44
44
  "name": "::view-transition-group()",
@@ -501,7 +501,7 @@
501
501
  "values": [
502
502
  {
503
503
  "name": "active",
504
- "prose": "Indicates that forced colors mode is active: the user agent enforces a user-chosen limited color palette on the page, The UA will provide the color palette to authors through the CSS system color keywords. See CSS Color Adjust § 3 Forced Color Palettes for details. This does not necessarily indicate a preference for more contrast. The colors have been forcibly adjusted to match the preference of the user, but that preference can be for less or more contrast, or some other arrangement that is neither particularly low or high contrast. In addition to forced-colors: active, the user agent must also match one of prefers-contrast: more or prefers-contrast: less if it can determine that the forced color palette chosen by the user has a particularly high or low contrast, and must make prefers-contrast: custom match otherwise. Similarly, if the forced color palette chosen by the user fits within one of the color schemes described by prefers-color-scheme, the corresponding value must also match.",
504
+ "prose": "Indicates that forced colors mode is active: the user agent enforces a user-chosen limited color palette on the page, The UA will provide the color palette to authors through the CSS system color keywords. See CSS Color Adjustment 1 § 3 Forced Color Palettes for details. This does not necessarily indicate a preference for more contrast. The colors have been forcibly adjusted to match the preference of the user, but that preference can be for less or more contrast, or some other arrangement that is neither particularly low or high contrast. In addition to forced-colors: active, the user agent must also match one of prefers-contrast: more or prefers-contrast: less if it can determine that the forced color palette chosen by the user has a particularly high or low contrast, and must make prefers-contrast: custom match otherwise. Similarly, if the forced color palette chosen by the user fits within one of the color schemes described by prefers-color-scheme, the corresponding value must also match.",
505
505
  "type": "value",
506
506
  "value": "active"
507
507
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "6.3.0",
4
+ "version": "6.3.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "spec": {
3
- "title": "Scroll-linked Animations",
3
+ "title": "Scroll-driven Animations",
4
4
  "url": "https://drafts.csswg.org/scroll-animations-1/"
5
5
  },
6
6
  "properties": [