@webref/css 6.8.3 → 6.9.1

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-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-images-4.json CHANGED
@@ -111,7 +111,7 @@
111
111
  {
112
112
  "name": "<image-set-option>",
113
113
  "type": "type",
114
- "value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]"
114
+ "value": "[ <image> | <string> ] [ <resolution> || type(<string>) ]?"
115
115
  },
116
116
  {
117
117
  "name": "image()",
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": [
@@ -139,7 +139,7 @@
139
139
  },
140
140
  {
141
141
  "name": "clear",
142
- "value": "inline-start | inline-end | block-start | block-end | left | right | top | bottom | none",
142
+ "value": "inline-start | inline-end | block-start | block-end | left | right | top | bottom | both-inline | both-block | both | none",
143
143
  "initial": "none",
144
144
  "appliesTo": "block-level elements, floats, regions, pages",
145
145
  "inherited": "no",
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-position.json CHANGED
@@ -336,7 +336,7 @@
336
336
  },
337
337
  {
338
338
  "name": "inset-block",
339
- "value": "<top>{1,2}",
339
+ "value": "<'top'>{1,2}",
340
340
  "initial": "auto",
341
341
  "appliesTo": "positioned elements",
342
342
  "inherited": "no",
@@ -371,7 +371,7 @@
371
371
  },
372
372
  {
373
373
  "name": "inset-inline",
374
- "value": "<top>{1,2}",
374
+ "value": "<'top'>{1,2}",
375
375
  "initial": "auto",
376
376
  "appliesTo": "positioned elements",
377
377
  "inherited": "no",
@@ -406,7 +406,7 @@
406
406
  },
407
407
  {
408
408
  "name": "inset",
409
- "value": "<top>{1,4}",
409
+ "value": "<'top'>{1,4}",
410
410
  "initial": "auto",
411
411
  "appliesTo": "positioned elements",
412
412
  "inherited": "no",
package/css-shapes-2.json CHANGED
@@ -53,14 +53,22 @@
53
53
  },
54
54
  {
55
55
  "name": "shape-padding",
56
- "value": "<length>",
57
- "initial": "none",
56
+ "value": "<length-percentage [0,∞]>",
57
+ "initial": "0",
58
58
  "appliesTo": "block-level elements",
59
59
  "inherited": "no",
60
- "percentages": "n/a",
61
- "computedValue": "the absolute length",
60
+ "percentages": "refer to the inline size of the containing block",
61
+ "computedValue": "computed <length-percentage> value",
62
62
  "canonicalOrder": "per grammar",
63
63
  "animationType": "by computed value",
64
+ "values": [
65
+ {
66
+ "name": "<length-percentage [0,∞]>",
67
+ "prose": "Sets the padding of the shape to the specified value.",
68
+ "type": "value",
69
+ "value": "<length-percentage [0,∞]>"
70
+ }
71
+ ],
64
72
  "styleDeclaration": [
65
73
  "shape-padding",
66
74
  "shapePadding"
package/css-shapes.json CHANGED
@@ -151,7 +151,7 @@
151
151
  {
152
152
  "name": "<shape-box>",
153
153
  "type": "type",
154
- "value": "<box> | margin-box",
154
+ "value": "<visual-box> | margin-box",
155
155
  "values": [
156
156
  {
157
157
  "name": "margin-box",
package/css-speech.json CHANGED
@@ -647,7 +647,7 @@
647
647
  },
648
648
  {
649
649
  "name": "voice-pitch",
650
- "value": "<frequency> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
650
+ "value": "<frequency [0Hz,∞]> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
651
651
  "initial": "medium",
652
652
  "appliesTo": "all elements",
653
653
  "inherited": "yes",
@@ -721,7 +721,7 @@
721
721
  },
722
722
  {
723
723
  "name": "voice-range",
724
- "value": "<frequency> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
724
+ "value": "<frequency [0Hz,∞]> && absolute | [[x-low | low | medium | high | x-high] || [<frequency> | <semitones> | <percentage>]]",
725
725
  "initial": "medium",
726
726
  "appliesTo": "all elements",
727
727
  "inherited": "yes",
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",
@@ -1160,7 +1160,7 @@
1160
1160
  },
1161
1161
  {
1162
1162
  "name": "space-first",
1163
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container. Otherwise as trim-auto (unless allow-end is also specified).",
1163
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as trim-auto (unless allow-end is also specified).",
1164
1164
  "type": "value",
1165
1165
  "value": "space-first"
1166
1166
  },
@@ -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
@@ -105,21 +105,123 @@
105
105
  }
106
106
  ]
107
107
  },
108
+ {
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
+ "type": "function"
112
+ },
113
+ {
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
+ },
108
210
  {
109
211
  "name": "toggle()",
110
212
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
111
213
  "type": "function"
112
214
  },
113
215
  {
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"
216
+ "name": "<toggle()>",
217
+ "type": "type",
218
+ "value": "toggle( <whole-value> [ ';' <whole-value> ]+ )"
117
219
  },
118
220
  {
119
221
  "name": "attr()",
120
222
  "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
223
  "type": "function",
122
- "value": "attr( <q-name> <attr-type>? , <declaration-value>?)",
224
+ "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
123
225
  "values": [
124
226
  {
125
227
  "name": "string",
@@ -195,6 +297,11 @@
195
297
  }
196
298
  ]
197
299
  },
300
+ {
301
+ "name": "<attr-name>",
302
+ "type": "type",
303
+ "value": "[ <ident-token> '|' ]? <ident-token>"
304
+ },
198
305
  {
199
306
  "name": "<attr-type>",
200
307
  "type": "type",
@@ -209,7 +316,7 @@
209
316
  "name": "random()",
210
317
  "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:",
211
318
  "type": "function",
212
- "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? );"
319
+ "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? )"
213
320
  },
214
321
  {
215
322
  "name": "<random-caching-options>",
@@ -220,7 +327,39 @@
220
327
  "name": "random-item()",
221
328
  "prose": "The random-item() function resolves to a random item from among its list of items.",
222
329
  "type": "function",
223
- "value": "random-item( <random-caching-options> ';' <any-value> [ ';' <any-value> ]* )"
330
+ "value": "random-item( <random-caching-options> ';' <declaration-value>? [ ';' <declaration-value>? ]* )"
331
+ },
332
+ {
333
+ "name": "sibling-count()",
334
+ "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.",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "name": "sibling-index()",
339
+ "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.",
340
+ "type": "function"
341
+ }
342
+ ],
343
+ "warnings": [
344
+ {
345
+ "msg": "Missing definition",
346
+ "name": "progress-function()",
347
+ "value": "progress-function( progress value from start value to end value )"
348
+ },
349
+ {
350
+ "msg": "Missing definition",
351
+ "name": "mix-function()",
352
+ "value": "mix-function( <progress>,"
353
+ },
354
+ {
355
+ "msg": "Missing definition",
356
+ "name": "<color-mix()>",
357
+ "value": "color-mix( <progress> && <color-interpolation-method>?, <color>, <color> ) | color-mix( <color-interpolation-method>, [<color> && <percentage [0,100]>?]#{2} )"
358
+ },
359
+ {
360
+ "msg": "Missing definition",
361
+ "name": "<cross-fade()>",
362
+ "value": "cross-fade( <progress>, [ <image> | <color> ], [ <image> | <color> ] ) | cross-fade( <cf-image># )"
224
363
  }
225
364
  ]
226
365
  }
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": "none | <custom-ident>*",
35
+ "initial": "none"
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.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"