@webref/css 6.8.3 → 6.9.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-color-5.json CHANGED
@@ -63,7 +63,7 @@
63
63
  "name": "<color>",
64
64
  "prose": "Colors in CSS are represented by the <color> type:",
65
65
  "type": "type",
66
- "value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()> | <light-dark()>"
66
+ "value": "<absolute-color-base> | currentcolor | <system-color> | <device-cmyk()> | <color-mix()> | <light-dark()>"
67
67
  },
68
68
  {
69
69
  "name": "<absolute-color-base>",
@@ -312,7 +312,7 @@
312
312
  {
313
313
  "name": "<custom-params>",
314
314
  "type": "type",
315
- "value": "<dashed-ident> [ <number> | <percentage> | none ]#"
315
+ "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
316
316
  },
317
317
  {
318
318
  "name": "<predefined-rgb-params>",
@@ -337,12 +337,22 @@
337
337
  {
338
338
  "name": "device-cmyk()",
339
339
  "type": "function",
340
- "value": "device-cmyk( <cmyk-component>{4} [ / <alpha-value> ]? )"
340
+ "value": "<legacy-device-cmyk-syntax> | <modern-device-cmyk-syntax>"
341
+ },
342
+ {
343
+ "name": "<legacy-device-cmyk-syntax>",
344
+ "type": "type",
345
+ "value": "device-cmyk( <number>#{4} )"
346
+ },
347
+ {
348
+ "name": "<modern-device-cmyk-syntax>",
349
+ "type": "type",
350
+ "value": "device-cmyk( <cmyk-component>{4} [ / [ <alpha-value> | none ] ]? )"
341
351
  },
342
352
  {
343
353
  "name": "<cmyk-component>",
344
354
  "type": "type",
345
- "value": "<number> | <percentage>"
355
+ "value": "<number> | <percentage> | none"
346
356
  },
347
357
  {
348
358
  "name": "light-dark()",
@@ -357,7 +367,7 @@
357
367
  {
358
368
  "name": "<rectangular-color-space>",
359
369
  "type": "type",
360
- "value": "srgb | srgb-linear | lab | oklab | xyz | xyz-d50 | xyz-d65"
370
+ "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | xyz | xyz-d50 | xyz-d65"
361
371
  },
362
372
  {
363
373
  "name": "<polar-color-space>",
package/css-color.json CHANGED
@@ -1093,7 +1093,7 @@
1093
1093
  "values": [
1094
1094
  {
1095
1095
  "name": "srgb",
1096
- "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1096
+ "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1097
1097
  "type": "value",
1098
1098
  "value": "srgb"
1099
1099
  },
@@ -292,7 +292,7 @@
292
292
  },
293
293
  {
294
294
  "name": "oriya",
295
- "prose": "Oriya numbering (e.g., ୧, ୨, ୩, ..., ୯୮, ୯୯, ୧୦୦).",
295
+ "prose": "Oriya (Odia) numbering (e.g., ୧, ୨, ୩, ..., ୯୮, ୯୯, ୧୦୦).",
296
296
  "type": "value",
297
297
  "value": "oriya"
298
298
  },
package/css-fonts.json CHANGED
@@ -1319,12 +1319,6 @@
1319
1319
  "type": "value",
1320
1320
  "value": "system-ui"
1321
1321
  },
1322
- {
1323
- "name": "emoji",
1324
- "prose": "This font family is intended for use with emoji characters. Emoji are pictographs (pictorial symbols) that are typically presented in a colorful form and used inline in text. They represent things such as faces, weather, vehicles and buildings, food and drink, animals and plants, or icons that represent emotions, feelings, or activities.",
1325
- "type": "value",
1326
- "value": "emoji"
1327
- },
1328
1322
  {
1329
1323
  "name": "math",
1330
1324
  "prose": "This font family is intended for use with mathematical expressions. Such fonts may include additional data (for example, the OpenType MATH table) to help with the hierarchical process of equation layout. In particular, they may contain stylistic and stretching glyph variants useful in setting mathematical equations.",
package/css-grid-3.json CHANGED
@@ -46,36 +46,6 @@
46
46
  "masonry-auto-flow",
47
47
  "masonryAutoFlow"
48
48
  ]
49
- },
50
- {
51
- "name": "align-tracks",
52
- "value": "[normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>]#",
53
- "initial": "normal",
54
- "appliesTo": "grid containers with masonry layout in their block axis",
55
- "inherited": "no",
56
- "percentages": "n/a",
57
- "computedValue": "specified keyword(s)",
58
- "canonicalOrder": "per grammar",
59
- "animationType": "discrete",
60
- "styleDeclaration": [
61
- "align-tracks",
62
- "alignTracks"
63
- ]
64
- },
65
- {
66
- "name": "justify-tracks",
67
- "value": "[normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#",
68
- "initial": "normal",
69
- "appliesTo": "grid containers with masonry layout in their inline axis",
70
- "inherited": "no",
71
- "percentages": "n/a",
72
- "computedValue": "specified keyword(s)",
73
- "canonicalOrder": "per grammar",
74
- "animationType": "discrete",
75
- "styleDeclaration": [
76
- "justify-tracks",
77
- "justifyTracks"
78
- ]
79
49
  }
80
50
  ],
81
51
  "atrules": [],
package/css-grid.json CHANGED
@@ -237,7 +237,7 @@
237
237
  "percentages": "see Track Sizing",
238
238
  "computedValue": "see Track Sizing",
239
239
  "canonicalOrder": "per grammar",
240
- "animationType": "by computed value type",
240
+ "animationType": "if the list lengths match, by computed value type per item; discrete otherwise",
241
241
  "styleDeclaration": [
242
242
  "grid-auto-columns",
243
243
  "gridAutoColumns"
@@ -252,7 +252,7 @@
252
252
  "percentages": "see Track Sizing",
253
253
  "computedValue": "see Track Sizing",
254
254
  "canonicalOrder": "per grammar",
255
- "animationType": "by computed value type",
255
+ "animationType": "if the list lengths match, by computed value type per item; discrete otherwise",
256
256
  "styleDeclaration": [
257
257
  "grid-auto-rows",
258
258
  "gridAutoRows"
package/css-inline.json CHANGED
@@ -377,7 +377,7 @@
377
377
  },
378
378
  {
379
379
  "name": "line-height",
380
- "value": "normal | <number> | <length-percentage>",
380
+ "value": "normal | <number [0,∞]> | <length-percentage [0,∞]>",
381
381
  "initial": "normal",
382
382
  "appliesTo": "non-replaced inline boxes and SVG text content elements",
383
383
  "inherited": "yes",
@@ -393,22 +393,22 @@
393
393
  "value": "normal"
394
394
  },
395
395
  {
396
- "name": "<length>",
396
+ "name": "<length [0,∞]>",
397
397
  "prose": "The specified length is used as the preferred line height. Negative values are illegal.",
398
398
  "type": "value",
399
- "value": "<length>"
399
+ "value": "<length [0,∞]>"
400
400
  },
401
401
  {
402
- "name": "<number>",
402
+ "name": "<number [0,∞]>",
403
403
  "prose": "The preferred line height is this number multiplied by the element’s computed font-size. Negative values are illegal. The computed value is the same as the specified value.",
404
404
  "type": "value",
405
- "value": "<number>"
405
+ "value": "<number [0,∞]>"
406
406
  },
407
407
  {
408
- "name": "<percentage>",
408
+ "name": "<percentage [0,∞]>",
409
409
  "prose": "The preferred line height and computed value of the property is this percentage of the element’s computed font-size. Negative values are illegal.",
410
410
  "type": "value",
411
- "value": "<percentage>"
411
+ "value": "<percentage [0,∞]>"
412
412
  }
413
413
  ],
414
414
  "styleDeclaration": [
package/css-page.json CHANGED
@@ -27,7 +27,7 @@
27
27
  {
28
28
  "name": "size",
29
29
  "for": "@page",
30
- "value": "<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
30
+ "value": "<length [0,∞]>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]",
31
31
  "initial": "auto",
32
32
  "computedValue": "specified value, with <length>s made absolute.",
33
33
  "values": [
@@ -50,10 +50,10 @@
50
50
  "value": "portrait"
51
51
  },
52
52
  {
53
- "name": "<length>",
53
+ "name": "<length [0,∞]>",
54
54
  "prose": "The page box will be set to the given absolute dimension(s). If only one length value is specified, it sets both the width and height of the page box (i.e., the box is a square). If two length values are specified, the first establishes the page box width, and the second the page box height. Values in units of em and ex refer to the page context’s font. Negative lengths are illegal.",
55
55
  "type": "value",
56
- "value": "<length>"
56
+ "value": "<length [0,∞]>"
57
57
  },
58
58
  {
59
59
  "name": "<page-size>",
package/css-text-4.json CHANGED
@@ -100,7 +100,7 @@
100
100
  },
101
101
  {
102
102
  "name": "white-space",
103
- "value": "normal | pre | nowrap | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
103
+ "value": "normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
104
104
  "initial": "normal",
105
105
  "appliesTo": "text",
106
106
  "inherited": "yes",
@@ -225,7 +225,7 @@
225
225
  },
226
226
  {
227
227
  "name": "tab-size",
228
- "value": "<number> | <length>",
228
+ "value": "<number [0,∞]> | <length [0,∞]>",
229
229
  "initial": "8",
230
230
  "appliesTo": "text",
231
231
  "inherited": "yes",
@@ -849,7 +849,7 @@
849
849
  },
850
850
  {
851
851
  "name": "text-align-all",
852
- "value": "start | end | left | right | center | justify | match-parent",
852
+ "value": "start | end | left | right | center | <string> | justify | match-parent",
853
853
  "initial": "start",
854
854
  "appliesTo": "block containers",
855
855
  "inherited": "yes",
@@ -1190,7 +1190,7 @@
1190
1190
  },
1191
1191
  {
1192
1192
  "name": "text-spacing",
1193
- "value": "normal | none | auto | <autospace> || <spacing-trim>",
1193
+ "value": "normal | none | auto | <spacing-trim> || <autospace>",
1194
1194
  "initial": "see individual properties",
1195
1195
  "appliesTo": "text",
1196
1196
  "inherited": "yes",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  {
105
105
  "name": "text-decoration-thickness",
106
- "value": "auto | from-font | <length> | <percentage>",
106
+ "value": "auto | from-font | <length-percentage>",
107
107
  "initial": "auto",
108
108
  "appliesTo": "all elements",
109
109
  "inherited": "no",
@@ -206,7 +206,7 @@
206
206
  },
207
207
  {
208
208
  "name": "text-underline-offset",
209
- "value": "auto | <length> | <percentage>",
209
+ "value": "auto | <length-percentage>",
210
210
  "initial": "auto",
211
211
  "appliesTo": "all elements",
212
212
  "inherited": "yes",
package/css-text.json CHANGED
@@ -112,7 +112,7 @@
112
112
  },
113
113
  {
114
114
  "name": "tab-size",
115
- "value": "<number> | <length>",
115
+ "value": "<number [0,∞]> | <length [0,∞]>",
116
116
  "initial": "8",
117
117
  "appliesTo": "text",
118
118
  "inherited": "yes",
package/css-ui.json CHANGED
@@ -622,6 +622,35 @@
622
622
  "appearance"
623
623
  ]
624
624
  },
625
+ {
626
+ "name": "field-sizing",
627
+ "value": "fixed | content",
628
+ "initial": "fixed",
629
+ "appliesTo": "elements with default preferred size",
630
+ "inherited": "no",
631
+ "percentages": "N/A",
632
+ "computedValue": "as specified",
633
+ "canonicalOrder": "per grammar",
634
+ "animationType": "discrete",
635
+ "values": [
636
+ {
637
+ "name": "fixed",
638
+ "prose": "For element with default preferred size, the UA must apply set the intrinsic size to the default preferred size defined by the host language for that element. Otherwise UA must behave the same as content.",
639
+ "type": "value",
640
+ "value": "fixed"
641
+ },
642
+ {
643
+ "name": "content",
644
+ "prose": "The UA must determine the element’s intrinsic size based on its content, and must ignore any default preferred size defined by the host language for that element. If the element is an element with default preferred size and is listed in compressible replaced elements, the UA must stop treating the element as a replaced element for min-content contribution.",
645
+ "type": "value",
646
+ "value": "content"
647
+ }
648
+ ],
649
+ "styleDeclaration": [
650
+ "field-sizing",
651
+ "fieldSizing"
652
+ ]
653
+ },
625
654
  {
626
655
  "name": "input-security",
627
656
  "value": "auto | none",
package/css-values-5.json CHANGED
@@ -106,20 +106,117 @@
106
106
  ]
107
107
  },
108
108
  {
109
- "name": "toggle()",
110
- "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
109
+ "name": "progress()",
110
+ "prose": "The progress() functional notation returns a <number> value representing the position of one calculation (the progress value) between two other calculations (the progress start value and progress end value). The argument calculations can resolve to any <number>, <dimension>, or <percentage>, but must have the same type, or else the function is invalid.",
111
111
  "type": "function"
112
112
  },
113
113
  {
114
- "name": "<toggle-value>",
115
- "prose": "where <toggle-value> is any CSS value that is valid where the expression is placed. If any of the values inside are not valid, then the entire toggle() expression is invalid. The toggle() expression may be used as the value of any property, but must be the only component in that property’s value.",
116
- "type": "type"
114
+ "name": "<progress()>",
115
+ "type": "type",
116
+ "value": "progress(<calc-sum> from <calc-sum> to <calc-sum>)"
117
+ },
118
+ {
119
+ "name": "media-progress()",
120
+ "prose": "Similar to the progress() notation, the media-progress() functional notation returns a <number> value representing current value of the specified media query [MEDIAQUERIES-4] as a progress value between two explicit values of the media query (as the progress start value and progress end value).",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "name": "<media-progress()>",
125
+ "type": "type",
126
+ "value": "media-progress(<media-feature> from <calc-sum> to <calc-sum>)"
127
+ },
128
+ {
129
+ "name": "container-progress()",
130
+ "prose": "The container-progress() functional notation is identical to the media-progress() functional notation, except that it accepts container features [CSS-CONTAIN-3] in place of media features.",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "name": "<container-progress()>",
135
+ "type": "type",
136
+ "value": "container-progress(<size-feature> [ of <container-name> ]? from <calc-sum> to <calc-sum>)"
137
+ },
138
+ {
139
+ "name": "<progress>",
140
+ "prose": "The <progress> value type represents the mix progress value in a mix notation, and ultimately resolves to a percentage. It can, however, draw that percentage value from sources such as media queries and animation timelines, and can also convert it through an easing function before using it for interpolation.",
141
+ "type": "type",
142
+ "value": "[ <percentage> | <number> | <'animation-timeline'> ]? && by <easing-function>",
143
+ "values": [
144
+ {
145
+ "name": "<percentage>",
146
+ "prose": "Represents the mix progress value as a <percentage>.",
147
+ "type": "value",
148
+ "value": "<percentage>"
149
+ },
150
+ {
151
+ "name": "<number>",
152
+ "prose": "Computes to the equivalent <percentage>. Note: This allows the use of the progress(), media-progress(), and container-progress() notations.",
153
+ "type": "value",
154
+ "value": "<number>"
155
+ },
156
+ {
157
+ "name": "<'animation-timeline'>",
158
+ "prose": "Represents the mix progress value as the progress of the specified animation timeline. The values none and auto, however, are invalid. [CSS-ANIMATIONS-2] [WEB-ANIMATIONS-2]",
159
+ "type": "value",
160
+ "value": "<'animation-timeline'>"
161
+ },
162
+ {
163
+ "name": "<easing-function>",
164
+ "prose": "Converts the specified input mix progress value into an output mix progress value using the specified easing function. [CSS-EASING-1]",
165
+ "type": "value",
166
+ "value": "<easing-function>"
167
+ }
168
+ ]
169
+ },
170
+ {
171
+ "name": "calc-mix()",
172
+ "prose": "The calc-mix() mix notation represents an interpolated numeric or dimensional value. Like calc(), it is a math function, with the following syntactic form:",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "name": "<calc-mix()>",
177
+ "type": "type",
178
+ "value": "calc-mix( <progress>, <calc-sum>, <calc-sum> )"
179
+ },
180
+ {
181
+ "name": "transform-mix()",
182
+ "prose": "The transform-mix() mix notation represents an interpolated <transform-list>, with the following syntactic form:",
183
+ "type": "function"
184
+ },
185
+ {
186
+ "name": "<transform-mix()>",
187
+ "type": "type",
188
+ "value": "transform-mix( <progress>, <transform-list>, <transform-list> )"
189
+ },
190
+ {
191
+ "name": "mix()",
192
+ "prose": "Interpolation of any two property values can be represented by the mix() mix notation, which supports two alternative syntax patterns:",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "name": "<mix()>",
197
+ "type": "type",
198
+ "value": "mix( <progress> ';' <whole-value> ';' <whole-value> ) | mix( <progress> && of <'animation-name'> )"
199
+ },
200
+ {
201
+ "name": "first-valid()",
202
+ "prose": "The first-valid() functional notation inlines the fallback behavior intrinsic to parsing declarations. Unlike most notations, it can accept any valid or invalid syntax in its arguments, and represents the first value among its arguments that is supported (parsed as valid) by the UA as the whole value of the property it’s used in.",
203
+ "type": "function"
204
+ },
205
+ {
206
+ "name": "<first-valid()>",
207
+ "type": "type",
208
+ "value": "first-valid( <declaration-value> [ ';' <declaration-value> ]* )"
209
+ },
210
+ {
211
+ "name": "toggle()",
212
+ "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
213
+ "type": "function"
117
214
  },
118
215
  {
119
216
  "name": "attr()",
120
217
  "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
121
218
  "type": "function",
122
- "value": "attr( <q-name> <attr-type>? , <declaration-value>?)",
219
+ "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
123
220
  "values": [
124
221
  {
125
222
  "name": "string",
@@ -195,6 +292,11 @@
195
292
  }
196
293
  ]
197
294
  },
295
+ {
296
+ "name": "<attr-name>",
297
+ "type": "type",
298
+ "value": "[ <ident-token> '|' ]? <ident-token>"
299
+ },
198
300
  {
199
301
  "name": "<attr-type>",
200
302
  "type": "type",
@@ -221,6 +323,38 @@
221
323
  "prose": "The random-item() function resolves to a random item from among its list of items.",
222
324
  "type": "function",
223
325
  "value": "random-item( <random-caching-options> ';' <any-value> [ ';' <any-value> ]* )"
326
+ },
327
+ {
328
+ "name": "sibling-count()",
329
+ "prose": "The sibling-count() functional notation represents, as an <integer>, the total number of child elements in the parent of the element on which the notation is used.",
330
+ "type": "function"
331
+ },
332
+ {
333
+ "name": "sibling-index()",
334
+ "prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among the children of its parent. Like :nth-child(), sibling-index() is 1-indexed.",
335
+ "type": "function"
336
+ }
337
+ ],
338
+ "warnings": [
339
+ {
340
+ "msg": "Missing definition",
341
+ "name": "progress-function()",
342
+ "value": "progress-function( progress value from start value to end value )"
343
+ },
344
+ {
345
+ "msg": "Missing definition",
346
+ "name": "mix-function()",
347
+ "value": "mix-function( <progress>,"
348
+ },
349
+ {
350
+ "msg": "Missing definition",
351
+ "name": "<color-mix()>",
352
+ "value": "color-mix( <progress> && <color-interpolation-method>?, <color>, <color> ) | color-mix( <color-interpolation-method>, [<color> && <percentage [0,100]>?]#{2} )"
353
+ },
354
+ {
355
+ "msg": "Missing definition",
356
+ "name": "<cross-fade()>",
357
+ "value": "cross-fade( <progress>, [ <image> | <color> ], [ <image> | <color> ] ) | cross-fade( <cf-image># )"
224
358
  }
225
359
  ]
226
360
  }
package/css-values.json CHANGED
@@ -7,26 +7,6 @@
7
7
  "atrules": [],
8
8
  "selectors": [],
9
9
  "values": [
10
- {
11
- "name": "mix()",
12
- "prose": "Interpolation of two values can be represented by the mix() functional notation, whose syntax is defined as follows:",
13
- "type": "function",
14
- "value": "mix( <percentage> ';' <declaration-value>? ';' <declaration-value>? )",
15
- "values": [
16
- {
17
- "name": "<percentage>",
18
- "prose": "Represents the interpolation progress between the two values.",
19
- "type": "value",
20
- "value": "<percentage>"
21
- },
22
- {
23
- "name": "<declaration-value>",
24
- "prose": "The first <declaration-value> represents the value at the “start” (0%) of the interpolation range, interpreted as a value for the property this function is used in. The second <declaration-value> represents the value at the “end” (100%) of the interpolation range, interpreted the same. Either value can be omitted, to refer to an empty value (this is valid in custom properties, such as --foo:;). The separating ; cannot be omitted; for example, a mix() with an empty starting value would be written like mix(50%;;bar).",
25
- "type": "value",
26
- "value": "<declaration-value>"
27
- }
28
- ]
29
- },
30
10
  {
31
11
  "name": "<ident>",
32
12
  "prose": "CSS identifiers, generically denoted by <ident>, consist of a sequence of characters conforming to the <ident-token> grammar. [CSS-SYNTAX-3] Identifiers cannot be quoted; otherwise they would be interpreted as strings. CSS properties accept two classes of identifiers: pre-defined keywords and author-defined identifiers.",
@@ -492,31 +472,31 @@
492
472
  "values": [
493
473
  {
494
474
  "name": "e",
495
- "prose": "e is the base of the natural logarithm, approximately equal to 2.7182818284590452354.",
475
+ "prose": "the base of the natural logarithm, approximately equal to 2.7182818284590452354.",
496
476
  "type": "value",
497
477
  "value": "e"
498
478
  },
499
479
  {
500
480
  "name": "pi",
501
- "prose": "pi is the ratio of a circle’s circumference to its diameter, approximately equal to 3.1415926535897932.",
481
+ "prose": "the ratio of a circle’s circumference to its diameter, approximately equal to 3.1415926535897932.",
502
482
  "type": "value",
503
483
  "value": "pi"
504
484
  },
505
485
  {
506
486
  "name": "infinity",
507
- "prose": "When a calculation or a subtree of a calculation becomes infinite or NaN, representing it with a numeric value is no longer possible. To aid in serialization of these degenerate values, the additional math constants infinity (with the value +∞), -infinity (with the value −∞), and NaN (with the value NaN) are defined.",
487
+ "prose": "the value positive infinity (+∞)",
508
488
  "type": "value",
509
489
  "value": "infinity"
510
490
  },
511
491
  {
512
492
  "name": "-infinity",
513
- "prose": "When a calculation or a subtree of a calculation becomes infinite or NaN, representing it with a numeric value is no longer possible. To aid in serialization of these degenerate values, the additional math constants infinity (with the value +∞), -infinity (with the value −∞), and NaN (with the value NaN) are defined.",
493
+ "prose": "the value negative infinity (−∞)",
514
494
  "type": "value",
515
495
  "value": "-infinity"
516
496
  },
517
497
  {
518
498
  "name": "NaN",
519
- "prose": "When a calculation or a subtree of a calculation becomes infinite or NaN, representing it with a numeric value is no longer possible. To aid in serialization of these degenerate values, the additional math constants infinity (with the value +∞), -infinity (with the value −∞), and NaN (with the value NaN) are defined.",
499
+ "prose": "the value NaN",
520
500
  "type": "value",
521
501
  "value": "NaN"
522
502
  }
@@ -670,10 +650,10 @@
670
650
  {
671
651
  "name": "<calc-value>",
672
652
  "type": "type",
673
- "value": "<number> | <dimension> | <percentage> | <calc-constant> | ( <calc-sum> )"
653
+ "value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )"
674
654
  },
675
655
  {
676
- "name": "<calc-constant>",
656
+ "name": "<calc-keyword>",
677
657
  "type": "type",
678
658
  "value": "e | pi | infinity | -infinity | NaN"
679
659
  },
@@ -9,9 +9,9 @@
9
9
  "name": "@view-transition",
10
10
  "descriptors": [
11
11
  {
12
- "name": "trigger",
12
+ "name": "navigation",
13
13
  "for": "@view-transition",
14
- "value": "navigation | none",
14
+ "value": "auto | none",
15
15
  "initial": "none",
16
16
  "values": [
17
17
  {
@@ -21,15 +21,21 @@
21
21
  "value": "none"
22
22
  },
23
23
  {
24
- "name": "navigation",
25
- "prose": "The transition will be enabled if the navigation is same-origin, without cross-origin redirects.",
24
+ "name": "auto",
25
+ "prose": "The transition will be enabled if the navigation is same-origin, without cross-origin redirects, and is not a reload.",
26
26
  "type": "value",
27
- "value": "navigation"
27
+ "value": "auto"
28
28
  }
29
29
  ]
30
+ },
31
+ {
32
+ "name": "type",
33
+ "for": "@view-transition",
34
+ "value": "<custom-ident>*",
35
+ "initial": "an empty list"
30
36
  }
31
37
  ],
32
- "value": "@view-transition same-origin { <declaration-rule-list> }"
38
+ "value": "@view-transition { <declaration-rule-list> }"
33
39
  }
34
40
  ],
35
41
  "selectors": [
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.8.3",
4
+ "version": "6.9.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"