@webref/css 6.20.4 → 6.20.6

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-align.json CHANGED
@@ -165,7 +165,7 @@
165
165
  },
166
166
  {
167
167
  "name": "stretch",
168
- "prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Alignment: the justify-self property.",
168
+ "prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Self-Alignment: the justify-self property.",
169
169
  "href": "https://drafts.csswg.org/css-align-3/#valdef-align-self-stretch",
170
170
  "type": "value",
171
171
  "value": "stretch"
package/css-color-5.json CHANGED
@@ -359,6 +359,12 @@
359
359
  "type": "type",
360
360
  "value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
361
361
  },
362
+ {
363
+ "name": "<custom-params>",
364
+ "href": "https://drafts.csswg.org/css-color-5/#typedef-custom-params",
365
+ "type": "type",
366
+ "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
367
+ },
362
368
  {
363
369
  "name": "<predefined-rgb-params>",
364
370
  "href": "https://drafts.csswg.org/css-color-5/#typedef-predefined-rgb-params",
@@ -377,6 +383,12 @@
377
383
  "type": "type",
378
384
  "value": "<xyz> [ <number> | <percentage> | none ]{3}"
379
385
  },
386
+ {
387
+ "name": "<xyz>",
388
+ "href": "https://drafts.csswg.org/css-color-5/#typedef-xyz",
389
+ "type": "type",
390
+ "value": "xyz | xyz-d50 | xyz-d65"
391
+ },
380
392
  {
381
393
  "name": "device-cmyk()",
382
394
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk",
@@ -54,70 +54,136 @@
54
54
  "value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )"
55
55
  },
56
56
  {
57
- "name": "hdr-color()",
58
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-hdr-color",
59
- "type": "function",
60
- "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
57
+ "name": "<color-function>",
58
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-color-function",
59
+ "type": "type",
60
+ "value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <color()>"
61
61
  },
62
62
  {
63
- "name": "color()",
64
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-color",
63
+ "name": "ictcp()",
64
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-ictcp",
65
65
  "type": "function",
66
- "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
67
- },
68
- {
69
- "name": "<colorspace-params>",
70
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-colorspace-params",
71
- "type": "type",
72
- "value": "[<custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params>]"
66
+ "value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
67
+ "values": [
68
+ {
69
+ "name": "i",
70
+ "prose": "i is a <number> that corresponds to the origin color’s I (Lightness) after conversion, if required, to ictcp. 1.0 is equivalent to 100%.",
71
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-i",
72
+ "type": "value",
73
+ "value": "i"
74
+ },
75
+ {
76
+ "name": "ct",
77
+ "prose": "ct and cp are <number>s that correspond to the origin color’s ct and cp axes after conversion, if required, to ictcp. 0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.",
78
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-ct",
79
+ "type": "value",
80
+ "value": "ct"
81
+ },
82
+ {
83
+ "name": "cp",
84
+ "prose": "ct and cp are <number>s that correspond to the origin color’s ct and cp axes after conversion, if required, to ictcp. 0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.",
85
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-cp",
86
+ "type": "value",
87
+ "value": "cp"
88
+ },
89
+ {
90
+ "name": "alpha",
91
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.",
92
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-alpha",
93
+ "type": "value",
94
+ "value": "alpha"
95
+ }
96
+ ]
73
97
  },
74
98
  {
75
- "name": "<custom-params>",
76
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-custom-params",
77
- "type": "type",
78
- "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
99
+ "name": "jzazbz()",
100
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzazbz",
101
+ "type": "function",
102
+ "value": "jzazbz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
103
+ "values": [
104
+ {
105
+ "name": "j",
106
+ "prose": "j is a <number> that corresponds to the origin color’s Jz (Lightness) after conversion, if required, to jzazbz. 1.0 is equivalent to 100%.",
107
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-j",
108
+ "type": "value",
109
+ "value": "j"
110
+ },
111
+ {
112
+ "name": "a",
113
+ "prose": "a and b are <number>s that correspond to the origin color’s az and bz axes after conversion, if required, to jzazbz. 0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.",
114
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-a",
115
+ "type": "value",
116
+ "value": "a"
117
+ },
118
+ {
119
+ "name": "b",
120
+ "prose": "a and b are <number>s that correspond to the origin color’s az and bz axes after conversion, if required, to jzazbz. 0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.",
121
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-b",
122
+ "type": "value",
123
+ "value": "b"
124
+ },
125
+ {
126
+ "name": "alpha",
127
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.",
128
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-alpha",
129
+ "type": "value",
130
+ "value": "alpha"
131
+ }
132
+ ]
79
133
  },
80
134
  {
81
- "name": "<predefined-rgb-params>",
82
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb-params",
83
- "type": "type",
84
- "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
135
+ "name": "jzczhz()",
136
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzczhz",
137
+ "type": "function",
138
+ "value": "jzczhz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
139
+ "values": [
140
+ {
141
+ "name": "j",
142
+ "prose": "j is a <number> that corresponds to the origin color’s Jz (Lightness) after conversion, if required, to jzczhz. 100 is equivalent to 100%.",
143
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-j",
144
+ "type": "value",
145
+ "value": "j"
146
+ },
147
+ {
148
+ "name": "c",
149
+ "prose": "c is a <number> that corresponds to the origin color’s Cz (chroma) after conversion, if required, to jzczhz. 0.26 is equivalent to 100%.",
150
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-c",
151
+ "type": "value",
152
+ "value": "c"
153
+ },
154
+ {
155
+ "name": "h",
156
+ "prose": "h is a <number> that corresponds to the origin color’s hz (hue), in degrees, after conversion, if required, to jzczhz, normalized to a [0, 360] range. 90 is equivalent to 90deg.",
157
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-h",
158
+ "type": "value",
159
+ "value": "h"
160
+ },
161
+ {
162
+ "name": "alpha",
163
+ "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.",
164
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-alpha",
165
+ "type": "value",
166
+ "value": "alpha"
167
+ }
168
+ ]
85
169
  },
86
170
  {
87
- "name": "<predefined-polar-params>",
88
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-polar-params",
89
- "type": "type",
90
- "value": "jzczhz [ <number> | <percentage> | none ]{2} [ <hue> | none]"
171
+ "name": "hdr-color()",
172
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-hdr-color",
173
+ "type": "function",
174
+ "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
91
175
  },
92
176
  {
93
- "name": "<predefined-rectangular-params>",
94
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rectangular-params",
95
- "type": "type",
96
- "value": "<predefined-rectangular> [ <number> | <percentage> | none ]{3}"
177
+ "name": "color()",
178
+ "prose": "The color() function allows a color to be specified in a particular, given color space (rather than the implicit sRGB color space that most of the other color functions operate in).",
179
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-color",
180
+ "type": "function"
97
181
  },
98
182
  {
99
183
  "name": "<predefined-rgb>",
100
184
  "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
101
185
  "type": "type",
102
186
  "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
103
- },
104
- {
105
- "name": "<predefined-rectangular>",
106
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rectangular",
107
- "type": "type",
108
- "value": "jzazbz | ictcp"
109
- },
110
- {
111
- "name": "<xyz-params>",
112
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-xyz-params",
113
- "type": "type",
114
- "value": "<xyz> [ <number> | <percentage> | none ]{3}"
115
- },
116
- {
117
- "name": "<xyz>",
118
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-xyz",
119
- "type": "type",
120
- "value": "xyz | xyz-d50 | xyz-d65"
121
187
  }
122
188
  ]
123
189
  }
package/css-color.json CHANGED
@@ -250,12 +250,6 @@
250
250
  "type": "type",
251
251
  "value": "<hex-color> | <color-function> | <named-color> | transparent"
252
252
  },
253
- {
254
- "name": "<color-function>",
255
- "href": "https://drafts.csswg.org/css-color-4/#typedef-color-function",
256
- "type": "type",
257
- "value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
258
- },
259
253
  {
260
254
  "name": "<hue>",
261
255
  "href": "https://drafts.csswg.org/css-color-4/#typedef-hue",
@@ -1461,6 +1455,24 @@
1461
1455
  }
1462
1456
  ]
1463
1457
  },
1458
+ {
1459
+ "name": "<colorspace-params>",
1460
+ "href": "https://drafts.csswg.org/css-color-4/#typedef-colorspace-params",
1461
+ "type": "type",
1462
+ "value": "[ <predefined-rgb-params> | <xyz-params>]"
1463
+ },
1464
+ {
1465
+ "name": "<predefined-rgb-params>",
1466
+ "href": "https://drafts.csswg.org/css-color-4/#typedef-predefined-rgb-params",
1467
+ "type": "type",
1468
+ "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
1469
+ },
1470
+ {
1471
+ "name": "<xyz-params>",
1472
+ "href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-params",
1473
+ "type": "type",
1474
+ "value": "<xyz-space> [ <number> | <percentage> | none ]{3}"
1475
+ },
1464
1476
  {
1465
1477
  "name": "<xyz-space>",
1466
1478
  "href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-space",
@@ -504,6 +504,20 @@
504
504
  "type": "value",
505
505
  "value": "cjk-heavenly-stem"
506
506
  },
507
+ {
508
+ "name": "japanese-informal",
509
+ "prose": "Informal Japanese Kanji numbering (e.g., 千百十一)",
510
+ "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-informal",
511
+ "type": "value",
512
+ "value": "japanese-informal"
513
+ },
514
+ {
515
+ "name": "japanese-formal",
516
+ "prose": "Formal Japanese Kanji numbering (e.g. 壱阡壱百壱拾壱)",
517
+ "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-formal",
518
+ "type": "value",
519
+ "value": "japanese-formal"
520
+ },
507
521
  {
508
522
  "name": "korean-hangul-formal",
509
523
  "prose": "Korean Hangul numbering (e.g., 일천일백일십일)",
@@ -558,20 +572,6 @@
558
572
  "type": "type",
559
573
  "value": "<counter-style-name> | <symbols()>",
560
574
  "values": [
561
- {
562
- "name": "japanese-informal",
563
- "prose": "Informal Japanese Kanji numbering (e.g., 千百十一)",
564
- "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-informal",
565
- "type": "value",
566
- "value": "japanese-informal"
567
- },
568
- {
569
- "name": "japanese-formal",
570
- "prose": "Formal Japanese Kanji numbering (e.g. 壱阡壱百壱拾壱)",
571
- "href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-formal",
572
- "type": "value",
573
- "value": "japanese-formal"
574
- },
575
575
  {
576
576
  "name": "simp-chinese-informal",
577
577
  "prose": "Simplified Chinese informal numbering (e.g., 一千一百一十一)",
package/css-display.json CHANGED
@@ -55,9 +55,9 @@
55
55
  {
56
56
  "name": "reading-flow",
57
57
  "href": "https://drafts.csswg.org/css-display-4/#propdef-reading-flow",
58
- "value": "normal | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
58
+ "value": "normal | source-order | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
59
59
  "initial": "normal",
60
- "appliesTo": "flex and grid containers",
60
+ "appliesTo": "block, flex and grid containers",
61
61
  "inherited": "no",
62
62
  "percentages": "n/a",
63
63
  "computedValue": "as specified",
@@ -71,6 +71,13 @@
71
71
  "type": "value",
72
72
  "value": "normal"
73
73
  },
74
+ {
75
+ "name": "source-order",
76
+ "prose": "Applies to grid, flex, and block layouts. Creates a reading flow container, and enables the use of the reading-order property on direct children. Other than respecting the reading-order property, follows the order of elements in the DOM.",
77
+ "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-source-order",
78
+ "type": "value",
79
+ "value": "source-order"
80
+ },
74
81
  {
75
82
  "name": "flex-visual",
76
83
  "prose": "Only takes effect on flex containers. Follows the visual reading order of flex items, taking the writing mode into account. Therefore, a document in English, with flex-direction: row-reverse and reading-flow: flex-visual would have a reading order of left to right.",
@@ -117,7 +124,7 @@
117
124
  "href": "https://drafts.csswg.org/css-display-4/#propdef-reading-order",
118
125
  "value": "<integer>",
119
126
  "initial": "0",
120
- "appliesTo": "Direct children of a reading flow container",
127
+ "appliesTo": "Direct block-level, grid item, or flex item children of a reading flow container.",
121
128
  "inherited": "no",
122
129
  "percentages": "n/a",
123
130
  "computedValue": "specified integer",
package/css-fonts.json CHANGED
@@ -362,7 +362,7 @@
362
362
  {
363
363
  "name": "font-synthesis-style",
364
364
  "href": "https://drafts.csswg.org/css-fonts-4/#propdef-font-synthesis-style",
365
- "value": "auto | none",
365
+ "value": "auto | none | oblique-only",
366
366
  "initial": "auto",
367
367
  "appliesTo": "all elements and text",
368
368
  "inherited": "yes",
@@ -385,6 +385,13 @@
385
385
  "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-style-none",
386
386
  "type": "value",
387
387
  "value": "none"
388
+ },
389
+ {
390
+ "name": "oblique-only",
391
+ "prose": "Synthesis of oblique faces is allowed, but they must not be used as fallback if italic is specified",
392
+ "href": "https://drafts.csswg.org/css-fonts-4/#valdef-font-synthesis-style-oblique-only",
393
+ "type": "value",
394
+ "value": "oblique-only"
388
395
  }
389
396
  ],
390
397
  "styleDeclaration": [
package/css-forms.json ADDED
@@ -0,0 +1,199 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Form Control Styling Level 1",
4
+ "url": "https://drafts.csswg.org/css-forms-1/"
5
+ },
6
+ "properties": [
7
+ {
8
+ "name": "appearance",
9
+ "newValues": "base",
10
+ "values": [
11
+ {
12
+ "name": "base",
13
+ "prose": "When applied on a form control, base puts that control in the basic appearance state.",
14
+ "href": "https://drafts.csswg.org/css-forms-1/#valdef-appearance-base",
15
+ "type": "value",
16
+ "value": "base"
17
+ }
18
+ ],
19
+ "styleDeclaration": [
20
+ "appearance"
21
+ ]
22
+ },
23
+ {
24
+ "name": "slider-orientation",
25
+ "href": "https://drafts.csswg.org/css-forms-1/#propdef-slider-orientation",
26
+ "value": "auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top",
27
+ "initial": "auto",
28
+ "appliesTo": "all elements",
29
+ "inherited": "no",
30
+ "percentages": "n/a",
31
+ "computedValue": "as specified",
32
+ "canonicalOrder": "per grammar",
33
+ "animationType": "discrete",
34
+ "values": [
35
+ {
36
+ "name": "auto",
37
+ "prose": "The slider-like control orientation is defined by the writing mode and direction.",
38
+ "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-auto",
39
+ "type": "value",
40
+ "value": "auto"
41
+ },
42
+ {
43
+ "name": "left-to-right",
44
+ "prose": "The slider-like control is rendered horizontally and ::fill is left-aligned within the control.",
45
+ "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-left-to-right",
46
+ "type": "value",
47
+ "value": "left-to-right"
48
+ },
49
+ {
50
+ "name": "right-to-left",
51
+ "prose": "The slider-like control is rendered horizontally and ::fill is right-aligned within the control.",
52
+ "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-right-to-left",
53
+ "type": "value",
54
+ "value": "right-to-left"
55
+ },
56
+ {
57
+ "name": "top-to-bottom",
58
+ "prose": "The slider-like control is rendered vertically and ::fill is top-aligned within the control.",
59
+ "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-top-to-bottom",
60
+ "type": "value",
61
+ "value": "top-to-bottom"
62
+ },
63
+ {
64
+ "name": "bottom-to-top",
65
+ "prose": "The slider-like control is rendered vertically and ::fill is bottom-aligned within the control.",
66
+ "href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-bottom-to-top",
67
+ "type": "value",
68
+ "value": "bottom-to-top"
69
+ }
70
+ ],
71
+ "styleDeclaration": [
72
+ "slider-orientation",
73
+ "sliderOrientation"
74
+ ]
75
+ }
76
+ ],
77
+ "atrules": [],
78
+ "selectors": [
79
+ {
80
+ "name": "::picker()",
81
+ "prose": "The ::picker() pseudo-element represents the part of the form control that pops out of the page.",
82
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker",
83
+ "value": "::picker( <form-control-identifier>+ )",
84
+ "values": [
85
+ {
86
+ "name": "<form-control-identifier>",
87
+ "href": "https://drafts.csswg.org/css-forms-1/#typedef-picker-form-control-identifier",
88
+ "type": "type",
89
+ "value": "select"
90
+ }
91
+ ]
92
+ },
93
+ {
94
+ "name": "::picker-icon",
95
+ "prose": "The ::picker-icon pseudo-element represents the part of the control that represents the icon denoting the presence of the picker. It is only generated when the originating element has basic appearance and if it opens a picker. It is a fully styleable pseudo-element and inherits from its originating element.",
96
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker-icon"
97
+ },
98
+ {
99
+ "name": "::file-selector-button",
100
+ "prose": "The ::file-selector-button pseudo-element represents the button used to open a file picker, if the UA renders such a button.",
101
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-file-selector-button"
102
+ },
103
+ {
104
+ "name": "::checkmark",
105
+ "prose": "The ::checkmark pseudo-element represents an indicator of whether the item is checked, and is present on checkboxes, radios, and option elements.",
106
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-checkmark"
107
+ },
108
+ {
109
+ "name": "::thumb",
110
+ "prose": "The ::thumb pseudo-element represents the portion that allows the user to adjust the progress of the control.",
111
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-thumb"
112
+ },
113
+ {
114
+ "name": "::track",
115
+ "prose": "The ::track pseudo-element represents the portion containing both the progressed and unprogressed portions of the control.",
116
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-track"
117
+ },
118
+ {
119
+ "name": "::fill",
120
+ "prose": "The ::fill pseudo-element represents the portion containing the progressed portion of the control. When the progress of control is undetermined (like with <progress indeterminate>), the user agent must give this portion an inline-size of zero.",
121
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-fill"
122
+ },
123
+ {
124
+ "name": "::placeholder",
125
+ "prose": "The ::placeholder pseudo-element represents the portion of the input that contains the placeholder text.",
126
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-placeholder"
127
+ },
128
+ {
129
+ "name": "::field-text",
130
+ "prose": "The ::field-text pseudo-element represents the portion of the input that contains the editable text.",
131
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-text"
132
+ },
133
+ {
134
+ "name": "::clear-icon",
135
+ "prose": "The ::clear-icon pseudo-element represents the portion of the input that allows the user to clear the input when clicked if provided by the user agent. With appearance: textfield, the user agent must not generate this part.",
136
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-clear-icon"
137
+ },
138
+ {
139
+ "name": "::step-control",
140
+ "prose": "The ::step-control pseudo-element represents the portion of a number input that contains the up and down buttons.",
141
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-control"
142
+ },
143
+ {
144
+ "name": "::step-up",
145
+ "prose": "The ::step-up pseudo-element represents the button that increments the value inside a number input when activated.",
146
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-up"
147
+ },
148
+ {
149
+ "name": "::step-down",
150
+ "prose": "The ::step-down pseudo-element represents the button that decrements the value inside a number input when activated.",
151
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-down"
152
+ },
153
+ {
154
+ "name": "::field-component",
155
+ "prose": "The ::field-component pseudo-element represents the portions of the control that contain the date/time component values.",
156
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-component"
157
+ },
158
+ {
159
+ "name": "::field-separator",
160
+ "prose": "The ::field-separator pseudo-element represents the portions of the control that separate the date/time component values if the user agent provides those portions.",
161
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-separator"
162
+ },
163
+ {
164
+ "name": "::color-swatch",
165
+ "prose": "The ::color-swatch pseudo-element represents the portion of the control that displays the chosen color value.",
166
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-color-swatch"
167
+ },
168
+ {
169
+ "name": ":low-value",
170
+ "prose": "The :low-value pseudo-class matches on a meter element when its value is under the value specified by the low HTML attribute.",
171
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-low-value"
172
+ },
173
+ {
174
+ "name": ":high-value",
175
+ "prose": "The :high-value pseudo-class matches on a meter element when its value is over the value specified by the high HTML attribute.",
176
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-high-value"
177
+ },
178
+ {
179
+ "name": ":optimal-value",
180
+ "prose": "The :optimal-value pseudo-class matches on a meter element when its value is in the range determined by the optimum / low / high HTML attributes.",
181
+ "href": "https://drafts.csswg.org/css-forms-1/#selectordef-optimal-value"
182
+ }
183
+ ],
184
+ "values": [
185
+ {
186
+ "name": "control-value()",
187
+ "prose": "The control-value() function computes to the current value of the form control it is on. If it is used on an element that is not a form control, it returns an empty string.",
188
+ "href": "https://drafts.csswg.org/css-forms-1/#funcdef-control-value",
189
+ "type": "function",
190
+ "value": "control-value( <type>? )"
191
+ },
192
+ {
193
+ "name": "<type>",
194
+ "href": "https://drafts.csswg.org/css-forms-1/#typedef-type",
195
+ "type": "type",
196
+ "value": "'<' [ number | string ] '>'"
197
+ }
198
+ ]
199
+ }
package/css-grid.json CHANGED
@@ -703,7 +703,7 @@
703
703
  "values": [
704
704
  {
705
705
  "name": "auto-fill",
706
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
706
+ "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite preferred size or maximum size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container taking gap into account; if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite minimum size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
707
707
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
708
708
  "type": "value",
709
709
  "value": "auto-fill"
@@ -733,7 +733,7 @@
733
733
  "values": [
734
734
  {
735
735
  "name": "auto-fill",
736
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
736
+ "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite preferred size or maximum size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container taking gap into account; if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite minimum size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
737
737
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
738
738
  "type": "value",
739
739
  "value": "auto-fill"
@@ -763,7 +763,7 @@
763
763
  "values": [
764
764
  {
765
765
  "name": "auto-fill",
766
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
766
+ "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite preferred size or maximum size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container taking gap into account; if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite minimum size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
767
767
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
768
768
  "type": "value",
769
769
  "value": "auto-fill"
@@ -783,31 +783,7 @@
783
783
  "name": "<name-repeat>",
784
784
  "href": "https://drafts.csswg.org/css-grid-2/#typedef-name-repeat",
785
785
  "type": "type",
786
- "value": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+)",
787
- "values": [
788
- {
789
- "name": "repeat()",
790
- "prose": "The repeat() notation represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.",
791
- "href": "https://drafts.csswg.org/css-grid-2/#funcdef-track-repeat-repeat",
792
- "type": "function",
793
- "values": [
794
- {
795
- "name": "auto-fill",
796
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
797
- "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
798
- "type": "value",
799
- "value": "auto-fill"
800
- },
801
- {
802
- "name": "auto-fit",
803
- "prose": "The auto-fit keyword behaves the same as auto-fill, except that after grid item placement any empty repeated tracks are collapsed. An empty track is one with no in-flow grid items placed into or spanning across it. (This can result in all tracks being collapsed, if they’re all empty.)",
804
- "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fit",
805
- "type": "value",
806
- "value": "auto-fit"
807
- }
808
- ]
809
- }
810
- ]
786
+ "value": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+)"
811
787
  },
812
788
  {
813
789
  "name": "<flex>",
package/css-images-4.json CHANGED
@@ -173,7 +173,7 @@
173
173
  "name": "<linear-gradient-syntax>",
174
174
  "href": "https://drafts.csswg.org/css-images-4/#typedef-linear-gradient-syntax",
175
175
  "type": "type",
176
- "value": "[ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>"
176
+ "value": "[ [ <angle> | <zero> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>"
177
177
  },
178
178
  {
179
179
  "name": "<side-or-corner>",
@@ -194,11 +194,11 @@
194
194
  "value": "conic-gradient( [ <conic-gradient-syntax> ] )",
195
195
  "values": [
196
196
  {
197
- "name": "<angle>",
197
+ "name": "<angle> | <zero>",
198
198
  "prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
199
- "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle",
199
+ "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle--zero",
200
200
  "type": "value",
201
- "value": "<angle>"
201
+ "value": "<angle> | <zero>"
202
202
  },
203
203
  {
204
204
  "name": "<position>",
@@ -213,7 +213,7 @@
213
213
  "name": "<conic-gradient-syntax>",
214
214
  "href": "https://drafts.csswg.org/css-images-4/#typedef-conic-gradient-syntax",
215
215
  "type": "type",
216
- "value": "[ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
216
+ "value": "[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
217
217
  },
218
218
  {
219
219
  "name": "repeating-linear-gradient()",
@@ -237,11 +237,11 @@
237
237
  "value": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )",
238
238
  "values": [
239
239
  {
240
- "name": "<angle>",
240
+ "name": "<angle> | <zero>",
241
241
  "prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
242
- "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle",
242
+ "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle--zero",
243
243
  "type": "value",
244
- "value": "<angle>"
244
+ "value": "<angle> | <zero>"
245
245
  },
246
246
  {
247
247
  "name": "<position>",
@@ -292,13 +292,13 @@
292
292
  "name": "<angular-color-hint>",
293
293
  "href": "https://drafts.csswg.org/css-images-4/#typedef-angular-color-hint",
294
294
  "type": "type",
295
- "value": "<angle-percentage>"
295
+ "value": "<angle-percentage> | <zero>"
296
296
  },
297
297
  {
298
298
  "name": "<color-stop-angle>",
299
299
  "href": "https://drafts.csswg.org/css-images-4/#typedef-color-stop-angle",
300
300
  "type": "type",
301
- "value": "<angle-percentage>{1,2}"
301
+ "value": "[ <angle-percentage> | <zero> ]{1,2}"
302
302
  },
303
303
  {
304
304
  "name": "<color-stop>",
package/css-images.json CHANGED
@@ -192,7 +192,7 @@
192
192
  "name": "<linear-gradient-syntax>",
193
193
  "href": "https://drafts.csswg.org/css-images-3/#typedef-linear-gradient-syntax",
194
194
  "type": "type",
195
- "value": "[ <angle> | to <side-or-corner> ]? , <color-stop-list>"
195
+ "value": "[ <angle> | <zero> | to <side-or-corner> ]? , <color-stop-list>"
196
196
  },
197
197
  {
198
198
  "name": "<side-or-corner>",
package/css-inline.json CHANGED
@@ -548,7 +548,7 @@
548
548
  "href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box",
549
549
  "value": "normal | <'text-box-trim'> || <'text-box-edge'>",
550
550
  "initial": "normal",
551
- "appliesTo": "block containers and inline boxes",
551
+ "appliesTo": "block containers, multi-column containers, and inline boxes",
552
552
  "inherited": "no",
553
553
  "percentages": "N/A",
554
554
  "computedValue": "the specified keyword",
@@ -573,7 +573,7 @@
573
573
  "href": "https://drafts.csswg.org/css-inline-3/#propdef-text-box-trim",
574
574
  "value": "none | trim-start | trim-end | trim-both",
575
575
  "initial": "none",
576
- "appliesTo": "block containers and inline boxes",
576
+ "appliesTo": "block containers, multi-column containers, and inline boxes",
577
577
  "inherited": "no",
578
578
  "percentages": "N/A",
579
579
  "computedValue": "the specified keyword",
package/css-pseudo.json CHANGED
@@ -18,14 +18,14 @@
18
18
  "values": [
19
19
  {
20
20
  "name": "::prefix",
21
- "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::postfix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::postfix). See § 2.2.1 First Letters and Associated Punctuation, below.",
21
+ "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
22
22
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-prefix",
23
23
  "type": "selector"
24
24
  },
25
25
  {
26
- "name": "::postfix",
27
- "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::postfix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::postfix). See § 2.2.1 First Letters and Associated Punctuation, below.",
28
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-postfix",
26
+ "name": "::suffix",
27
+ "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
28
+ "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-suffix",
29
29
  "type": "selector"
30
30
  }
31
31
  ]
@@ -37,7 +37,7 @@
37
37
  },
38
38
  {
39
39
  "name": "::search-text",
40
- "prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. How to identify the current match? [Issue #10527]",
40
+ "prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. The :current pseudo-class (but not ::current()) may be combined with ::search-text to represent the currently focused match instance. The :past and :future pseudo-classes are reserved for analogous use in the future. Any unsupported combination of these pseudo-classes with ::search-text must be treated as invalid.",
41
41
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text"
42
42
  },
43
43
  {
@@ -75,16 +75,6 @@
75
75
  "prose": "The ::marker pseudo-element represents the automatically generated marker box of a list item. (See [CSS-DISPLAY-3] and [CSS-LISTS-3].)",
76
76
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-marker"
77
77
  },
78
- {
79
- "name": "::placeholder",
80
- "prose": "The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text “YYYY/MM/DD” to clarify that numeric dates are to be entered in year-month-day order. It is a tree-abiding pseudo-element.",
81
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-placeholder"
82
- },
83
- {
84
- "name": "::file-selector-button",
85
- "prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button. It is an element-backed pseudo-element.",
86
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-file-selector-button"
87
- },
88
78
  {
89
79
  "name": "::details-content",
90
80
  "prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is an element-backed pseudo-element.",
@@ -49,45 +49,37 @@
49
49
  ]
50
50
  }
51
51
  ]
52
- },
53
- {
54
- "name": "@viewport",
55
- "descriptors": [
56
- {
57
- "name": "viewport-fit",
58
- "href": "https://drafts.csswg.org/css-round-display-1/#descdef-viewport-viewport-fit",
59
- "for": "@viewport",
60
- "value": "auto | contain | cover",
61
- "initial": "auto",
62
- "percentages": "N/A",
63
- "computedValue": "as specified",
64
- "values": [
65
- {
66
- "name": "auto",
67
- "prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
68
- "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
69
- "type": "value",
70
- "value": "auto"
71
- },
72
- {
73
- "name": "contain",
74
- "prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
75
- "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
76
- "type": "value",
77
- "value": "contain"
78
- },
79
- {
80
- "name": "cover",
81
- "prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
82
- "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
83
- "type": "value",
84
- "value": "cover"
85
- }
86
- ]
87
- }
88
- ]
89
52
  }
90
53
  ],
91
54
  "selectors": [],
92
- "values": []
55
+ "values": [],
56
+ "warnings": [
57
+ {
58
+ "msg": "Dangling value",
59
+ "name": "auto",
60
+ "prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
61
+ "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
62
+ "type": "value",
63
+ "value": "auto",
64
+ "for": "viewport-fit"
65
+ },
66
+ {
67
+ "msg": "Dangling value",
68
+ "name": "contain",
69
+ "prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
70
+ "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
71
+ "type": "value",
72
+ "value": "contain",
73
+ "for": "viewport-fit"
74
+ },
75
+ {
76
+ "msg": "Dangling value",
77
+ "name": "cover",
78
+ "prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
79
+ "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
80
+ "type": "value",
81
+ "value": "cover",
82
+ "for": "viewport-fit"
83
+ }
84
+ ]
93
85
  }
package/css-sizing-4.json CHANGED
@@ -230,7 +230,7 @@
230
230
  {
231
231
  "name": "contain-intrinsic-width",
232
232
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-width",
233
- "value": "auto? [ none | <length> ]",
233
+ "value": "auto? [ none | <length [0,∞]> ]",
234
234
  "initial": "none",
235
235
  "appliesTo": "elements with size containment",
236
236
  "inherited": "no",
@@ -263,7 +263,7 @@
263
263
  {
264
264
  "name": "contain-intrinsic-height",
265
265
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-height",
266
- "value": "auto? [ none | <length> ]",
266
+ "value": "auto? [ none | <length [0,∞]> ]",
267
267
  "initial": "none",
268
268
  "appliesTo": "elements with size containment",
269
269
  "inherited": "no",
@@ -296,7 +296,7 @@
296
296
  {
297
297
  "name": "contain-intrinsic-block-size",
298
298
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-block-size",
299
- "value": "auto? [ none | <length> ]",
299
+ "value": "auto? [ none | <length [0,∞]> ]",
300
300
  "initial": "none",
301
301
  "appliesTo": "elements with size containment",
302
302
  "inherited": "no",
@@ -329,7 +329,7 @@
329
329
  {
330
330
  "name": "contain-intrinsic-inline-size",
331
331
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-inline-size",
332
- "value": "auto? [ none | <length> ]",
332
+ "value": "auto? [ none | <length [0,∞]> ]",
333
333
  "initial": "none",
334
334
  "appliesTo": "elements with size containment",
335
335
  "inherited": "no",
package/css-ui.json CHANGED
@@ -678,7 +678,7 @@
678
678
  },
679
679
  {
680
680
  "name": "auto",
681
- "prose": "Elements representing widgets should have the native appearance of that widget, if the properties that disable native appearance for widgets are not in effect. See § 7.2.1 Properties Disabling Native Appearance. The host language is responsible for defining which elements represent which widgets. Elements other than widgets must be rendered as for none.",
681
+ "prose": "The element’s box is laid out like a regular replaced element. Within that box, elements representing widgets should have the native appearance of that widget. The host language is responsible for defining which elements represent which widgets. Elements other than widgets must be rendered as for none.",
682
682
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-appearance-auto",
683
683
  "type": "value",
684
684
  "value": "auto"
package/css-values-5.json CHANGED
@@ -451,7 +451,7 @@
451
451
  },
452
452
  {
453
453
  "name": "if()",
454
- "prose": "The if() notation is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() notation represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() notation represents an empty token stream.",
454
+ "prose": "The if() function is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() function represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() function represents an empty token stream.",
455
455
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
456
456
  "type": "function",
457
457
  "values": [
@@ -468,7 +468,13 @@
468
468
  "name": "<if()>",
469
469
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
470
470
  "type": "type",
471
- "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ;? )"
471
+ "value": "if( [ <if-branch> ; ]* <if-branch> ;? )"
472
+ },
473
+ {
474
+ "name": "<if-branch>",
475
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-branch",
476
+ "type": "type",
477
+ "value": "<if-condition> : <declaration-value>?"
472
478
  },
473
479
  {
474
480
  "name": "<if-condition>",
@@ -482,6 +488,18 @@
482
488
  "type": "type",
483
489
  "value": "supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )"
484
490
  },
491
+ {
492
+ "name": "<if-args>",
493
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-args",
494
+ "type": "type",
495
+ "value": "if( [ <if-args-branch> ; ]* <if-args-branch> ;? )"
496
+ },
497
+ {
498
+ "name": "<if-args-branch>",
499
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-args-branch",
500
+ "type": "type",
501
+ "value": "<declaration-value> : <declaration-value>?"
502
+ },
485
503
  {
486
504
  "name": "toggle()",
487
505
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
@@ -496,7 +514,7 @@
496
514
  },
497
515
  {
498
516
  "name": "inherit()",
499
- "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to the tokenized computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
517
+ "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to a sequence of component values representing the computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
500
518
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
501
519
  "type": "function"
502
520
  },
@@ -506,6 +524,12 @@
506
524
  "type": "type",
507
525
  "value": "inherit( <custom-property-name>, <declaration-value>? )"
508
526
  },
527
+ {
528
+ "name": "<inherit-args>",
529
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit-args",
530
+ "type": "type",
531
+ "value": "inherit( <declaration-value>, <declaration-value>? )"
532
+ },
509
533
  {
510
534
  "name": "attr()",
511
535
  "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.",
@@ -533,6 +557,12 @@
533
557
  "type": "type",
534
558
  "value": "type( <syntax> ) | raw-string | <attr-unit>"
535
559
  },
560
+ {
561
+ "name": "<attr-args>",
562
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-args",
563
+ "type": "type",
564
+ "value": "attr( <declaration-value>, <declaration-value>? )"
565
+ },
536
566
  {
537
567
  "name": "<attr-unit>",
538
568
  "prose": "The <attr-unit> production matches any identifier that is an ASCII case-insensitive match for the name of a CSS dimension unit, such as px, or the <delim-token> %. It is not expanded literally here, as the set of units expands over time.",
@@ -557,20 +587,56 @@
557
587
  "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:",
558
588
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
559
589
  "type": "function",
560
- "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? )"
590
+ "value": "random( <random-value-sharing>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
561
591
  },
562
592
  {
563
- "name": "<random-caching-options>",
564
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-caching-options",
593
+ "name": "<random-value-sharing>",
594
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-value-sharing",
565
595
  "type": "type",
566
- "value": "<dashed-ident> || per-element"
596
+ "value": "[ [ auto | <dashed-ident> ] || match-element ] | fixed <number [0,1]>",
597
+ "values": [
598
+ {
599
+ "name": "auto",
600
+ "prose": "Each random function in an element’s styles will use a distinct random base value. (But see the note below for a small wrinkle about this.) If neither auto nor <dashed-ident> are specified, it behaves as auto.",
601
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-auto",
602
+ "type": "value",
603
+ "value": "auto"
604
+ },
605
+ {
606
+ "name": "<dashed-ident>",
607
+ "prose": "Each random function in an element’s styles with the same <dashed-ident> will share the same random base value; ones with different <dashed-ident>s will use distinct random base values.",
608
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-dashed-ident",
609
+ "type": "value",
610
+ "value": "<dashed-ident>"
611
+ },
612
+ {
613
+ "name": "match-element",
614
+ "prose": "If match-element is omitted, random functions on different elements will use distinct random base values. If specified, random functions on different elements will share the same random base value if they have the same <dashed-ident> (if specified) or if they’re used in the same style in the same way (if not). (Again, see the note below for a small wrinkle about this.)",
615
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-match-element",
616
+ "type": "value",
617
+ "value": "match-element"
618
+ },
619
+ {
620
+ "name": "<number>",
621
+ "prose": "If fixed <number> is specified, the <number> is used as the random function’s random base value, rather than allowing the UA to generate a random base value and controlling how it’s shared. While 1 is technically allowed as a valid value (because CSS grammars can only express closed ranges), the random base value is clamped to the highest representable value less than 1, so random base values remain in the half-open range `[0, 1)`.",
622
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-fixed",
623
+ "type": "value",
624
+ "value": "<number>"
625
+ }
626
+ ]
567
627
  },
568
628
  {
569
629
  "name": "random-item()",
570
630
  "prose": "The random-item() function resolves to a random item from among its list of items.",
571
631
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
572
632
  "type": "function",
573
- "value": "random-item( <random-caching-options> , [ <declaration-value>? ]# )"
633
+ "value": "random-item( <random-value-sharing> , [ <declaration-value>? ]# )"
634
+ },
635
+ {
636
+ "name": "<random-item-args>",
637
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
638
+ "type": "type",
639
+ "value": "random-item( <declaration-value>, [ <declaration-value>? ]# )"
574
640
  },
575
641
  {
576
642
  "name": "sibling-count()",
@@ -153,7 +153,7 @@
153
153
  "href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation",
154
154
  "value": "mixed | upright | sideways",
155
155
  "initial": "mixed",
156
- "appliesTo": "all elements except table row groups, rows, column groups, and columns",
156
+ "appliesTo": "all elements except table row groups, rows, column groups, and columns; and text",
157
157
  "inherited": "yes",
158
158
  "percentages": "n/a",
159
159
  "computedValue": "specified value",
package/motion.json CHANGED
@@ -47,7 +47,7 @@
47
47
  },
48
48
  {
49
49
  "name": "<basic-shape>",
50
- "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the [=/reference box=] for the <basic-shape>.",
50
+ "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the reference box for the <basic-shape>.",
51
51
  "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-basic-shape",
52
52
  "type": "value",
53
53
  "value": "<basic-shape>"
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.20.4",
4
+ "version": "6.20.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"