@webref/css 6.17.0 → 6.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@
10
10
  "prose": "Scoped styles are described in CSS using the @scope block at-rule, which declares a scoping root and optional scoping limits associated with a set of style rules.",
11
11
  "href": "https://drafts.csswg.org/css-cascade-6/#at-ruledef-scope",
12
12
  "descriptors": [],
13
- "value": "@scope [(<scope-start>)]? [to (<scope-end>)]? { <rule-list> }"
13
+ "value": "@scope [(<scope-start>)]? [to (<scope-end>)]? { <block-contents> }"
14
14
  }
15
15
  ],
16
16
  "selectors": [],
@@ -1,39 +1,39 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Color HDR Module Level 1",
4
- "url": "https://drafts.csswg.org/css-color-hdr/"
4
+ "url": "https://drafts.csswg.org/css-color-hdr-1/"
5
5
  },
6
6
  "properties": [
7
7
  {
8
8
  "name": "dynamic-range-limit",
9
- "href": "https://drafts.csswg.org/css-color-hdr/#propdef-dynamic-range-limit",
10
- "value": "standard | high | constrained-high",
9
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#propdef-dynamic-range-limit",
10
+ "value": "standard | high | constrained-high | <dynamic-range-limit-mix()>",
11
11
  "initial": "high",
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "no",
14
14
  "percentages": "n/a",
15
- "computedValue": "specified value",
15
+ "computedValue": "see Computed Value for dynamic-range-limit",
16
16
  "canonicalOrder": "per grammar",
17
17
  "animationType": "by dynamic-range-limit-mix()",
18
18
  "values": [
19
19
  {
20
20
  "name": "standard",
21
- "prose": "The highest luminance color that is displayed is the same as ' media white, i.e. the CSS color white.",
22
- "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-standard",
21
+ "prose": "The highest luminance color that is displayed is the same as media white, i.e. the CSS color white.",
22
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-standard",
23
23
  "type": "value",
24
24
  "value": "standard"
25
25
  },
26
26
  {
27
27
  "name": "high",
28
28
  "prose": "The highest peak luminance that is displayed is much greater than media white, i.e. the CSS color white; the precise level is not specified.",
29
- "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-high",
29
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-high",
30
30
  "type": "value",
31
31
  "value": "high"
32
32
  },
33
33
  {
34
34
  "name": "constrained-high",
35
35
  "prose": "The highest peak luminance that is displayed is somewhat greater than media white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.",
36
- "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-constrained-high",
36
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high",
37
37
  "type": "value",
38
38
  "value": "constrained-high"
39
39
  }
@@ -49,67 +49,67 @@
49
49
  "values": [
50
50
  {
51
51
  "name": "dynamic-range-limit-mix()",
52
- "href": "https://drafts.csswg.org/css-color-hdr/#funcdef-dynamic-range-limit-mix",
52
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-dynamic-range-limit-mix",
53
53
  "type": "function",
54
- "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]>? ]#{2})"
54
+ "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]+)"
55
55
  },
56
56
  {
57
57
  "name": "color()",
58
- "href": "https://drafts.csswg.org/css-color-hdr/#funcdef-color",
58
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-color",
59
59
  "type": "function",
60
60
  "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
61
61
  },
62
62
  {
63
63
  "name": "<colorspace-params>",
64
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-colorspace-params",
64
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-colorspace-params",
65
65
  "type": "type",
66
66
  "value": "[<custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params>]"
67
67
  },
68
68
  {
69
69
  "name": "<custom-params>",
70
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-custom-params",
70
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-custom-params",
71
71
  "type": "type",
72
72
  "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
73
73
  },
74
74
  {
75
75
  "name": "<predefined-rgb-params>",
76
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rgb-params",
76
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb-params",
77
77
  "type": "type",
78
78
  "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
79
79
  },
80
80
  {
81
81
  "name": "<predefined-polar-params>",
82
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-polar-params",
82
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-polar-params",
83
83
  "type": "type",
84
84
  "value": "jzczhz [ <number> | <percentage> | none ]{2} [ <hue> | none]"
85
85
  },
86
86
  {
87
87
  "name": "<predefined-rectangular-params>",
88
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rectangular-params",
88
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rectangular-params",
89
89
  "type": "type",
90
90
  "value": "<predefined-rectangular> [ <number> | <percentage> | none ]{3}"
91
91
  },
92
92
  {
93
93
  "name": "<predefined-rgb>",
94
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rgb",
94
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
95
95
  "type": "type",
96
96
  "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
97
97
  },
98
98
  {
99
99
  "name": "<predefined-rectangular>",
100
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rectangular",
100
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rectangular",
101
101
  "type": "type",
102
102
  "value": "jzazbz | ictcp"
103
103
  },
104
104
  {
105
105
  "name": "<xyz-params>",
106
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-xyz-params",
106
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-xyz-params",
107
107
  "type": "type",
108
108
  "value": "<xyz> [ <number> | <percentage> | none ]{3}"
109
109
  },
110
110
  {
111
111
  "name": "<xyz>",
112
- "href": "https://drafts.csswg.org/css-color-hdr/#typedef-xyz",
112
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-xyz",
113
113
  "type": "type",
114
114
  "value": "xyz | xyz-d50 | xyz-d65"
115
115
  }
@@ -404,7 +404,7 @@
404
404
  "name": "<container-condition>",
405
405
  "href": "https://drafts.csswg.org/css-conditional-5/#typedef-container-condition",
406
406
  "type": "type",
407
- "value": "[ <container-name> ]? <container-query>"
407
+ "value": "[ <container-name>? <container-query>? ]!"
408
408
  },
409
409
  {
410
410
  "name": "<container-name>",
package/css-display.json CHANGED
@@ -101,7 +101,7 @@
101
101
  },
102
102
  {
103
103
  "name": "grid-order",
104
- "prose": "Follows the order-modified document order. Therefore, as normal unless the order property has been used to change the order of items.",
104
+ "prose": "Only takes effect on grid containers. Follows the order-modified document order. Therefore, as normal unless the order property has been used to change the order of items.",
105
105
  "href": "https://drafts.csswg.org/css-display-4/#valdef-reading-flow-grid-order",
106
106
  "type": "value",
107
107
  "value": "grid-order"
package/css-fonts.json CHANGED
@@ -1072,7 +1072,7 @@
1072
1072
  "percentages": "n/a",
1073
1073
  "computedValue": "the keyword normal or a list, each item a string paired with a number",
1074
1074
  "canonicalOrder": "per grammar",
1075
- "animationType": "(see prose)",
1075
+ "animationType": "see prose",
1076
1076
  "styleDeclaration": [
1077
1077
  "font-variation-settings",
1078
1078
  "fontVariationSettings"
@@ -232,7 +232,7 @@
232
232
  },
233
233
  {
234
234
  "name": "fade()",
235
- "value": "fade( [ <length> | <percentage> ] )",
235
+ "value": "fade( [ <length-percentage> ] )",
236
236
  "href": "https://drafts.csswg.org/css-overflow-4/#funcdef-text-overflow-fade",
237
237
  "type": "function"
238
238
  },
@@ -316,6 +316,7 @@
316
316
  },
317
317
  {
318
318
  "name": "<block-ellipsis>",
319
+ "prose": "Sets continue to discard if either or both values ares specified. Sets max-lines to the specified <integer> or to none if omitted, and block-ellipsis to other component of the value if specified or to auto if omitted.",
319
320
  "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
320
321
  "type": "value",
321
322
  "value": "<block-ellipsis>"
@@ -84,7 +84,7 @@
84
84
  "selectors": [
85
85
  {
86
86
  "name": "::scroll-marker-group",
87
- "prose": "The ::scroll-marker-group pseudo-element box is generated by a scroll container element having a computed scroll-marker-group property that is not none, representing a stylable sibling pseudo-element immediately adjacent to the scroll container.",
87
+ "prose": "The ::scroll-marker-group fully stylable pseudo-element is generated by a scroll container element having a computed scroll-marker-group property that is not none, adjacent to the scroll container.",
88
88
  "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker-group"
89
89
  },
90
90
  {
@@ -92,11 +92,95 @@
92
92
  "prose": "When the computed content value of a ::scroll-marker pseudo-element is not none and its nearest ancestor scroll container scroll container has a computed scroll-marker-group property that is not none, the pseudo-element generates a box attached as a child of the ::scroll-marker-group pseudo-element’s generated box on its nearest ancestor scroll container. These boxes are added in the tree order of their originating element.",
93
93
  "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-marker"
94
94
  },
95
+ {
96
+ "name": "::scroll-button()",
97
+ "value": "::scroll-button( <scroll-button-direction> )",
98
+ "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-scroll-button-scroll-button-direction"
99
+ },
95
100
  {
96
101
  "name": "::nth-fragment()",
97
102
  "prose": "The ::nth-fragment() pseudo-element is a pseudo-element that describes some of the fragment boxes generated by an element. The argument to the pseudo-element takes the same syntax as the argument to the :nth-child() pseudo-class defined in [SELECT], and has the same meaning except that the number is relative to fragment boxes generated by the element instead of siblings of the element.",
98
103
  "href": "https://drafts.csswg.org/css-overflow-5/#selectordef-nth-fragment"
99
104
  }
100
105
  ],
101
- "values": []
106
+ "values": [
107
+ {
108
+ "name": "<scroll-button-direction>",
109
+ "prose": "The four ::scroll-button() pseudo-elements are individually selected by the selector’s argument. The possible <scroll-button-direction> values are:",
110
+ "href": "https://drafts.csswg.org/css-overflow-5/#typedef-scroll-button-direction",
111
+ "type": "type",
112
+ "values": [
113
+ {
114
+ "name": "up",
115
+ "prose": "Selects the ''::scroll-button()' corresponding to the given physical direction.",
116
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-up",
117
+ "type": "value",
118
+ "value": "up"
119
+ },
120
+ {
121
+ "name": "down",
122
+ "prose": "Selects the ''::scroll-button()' corresponding to the given physical direction.",
123
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-down",
124
+ "type": "value",
125
+ "value": "down"
126
+ },
127
+ {
128
+ "name": "left",
129
+ "prose": "Selects the ''::scroll-button()' corresponding to the given physical direction.",
130
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-left",
131
+ "type": "value",
132
+ "value": "left"
133
+ },
134
+ {
135
+ "name": "right",
136
+ "prose": "Selects the ''::scroll-button()' corresponding to the given physical direction.",
137
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-right",
138
+ "type": "value",
139
+ "value": "right"
140
+ },
141
+ {
142
+ "name": "block-start",
143
+ "prose": "Selects the indicated ::scroll-button() pseudo-element.",
144
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-block-start",
145
+ "type": "value",
146
+ "value": "block-start"
147
+ },
148
+ {
149
+ "name": "block-end",
150
+ "prose": "Selects the indicated ::scroll-button() pseudo-element.",
151
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-block-end",
152
+ "type": "value",
153
+ "value": "block-end"
154
+ },
155
+ {
156
+ "name": "inline-start",
157
+ "prose": "Selects the indicated ::scroll-button() pseudo-element.",
158
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-inline-start",
159
+ "type": "value",
160
+ "value": "inline-start"
161
+ },
162
+ {
163
+ "name": "inline-end",
164
+ "prose": "Selects the indicated ::scroll-button() pseudo-element.",
165
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-inline-end",
166
+ "type": "value",
167
+ "value": "inline-end"
168
+ },
169
+ {
170
+ "name": "prev",
171
+ "prose": "Selects either the block-start or inline-start ::scroll-button(), whichever’s axis has more \"scrollable pages\" in the originating element: the originating element’s scrollable overflow height divided by its scrollport height, or the same but for widths. If both dimensions are equally sized, selects the block-start ::scroll-button(). For example, say the originating element was 800px wide and 500px tall, while its scrollable overflow area was 1200px wide and 1000px tall. The horizontal scrolling thus represents 1.5 \"pages\" (1200/800), while the vertical scrolling represents 2 \"pages\" (1000/500), so (assuming the element is in English) the ::scroll-button(prev) selector would select the block-start button.",
172
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-prev",
173
+ "type": "value",
174
+ "value": "prev"
175
+ },
176
+ {
177
+ "name": "next",
178
+ "prose": "Identical to prev, except it selects the block-end or inline-end ::scroll-button() instead.",
179
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-button-direction-next",
180
+ "type": "value",
181
+ "value": "next"
182
+ }
183
+ ]
184
+ }
185
+ ]
102
186
  }
@@ -276,7 +276,7 @@
276
276
  {
277
277
  "name": "float-offset",
278
278
  "href": "https://drafts.csswg.org/css-page-floats-3/#propdef-float-offset",
279
- "value": "<length> | <percentage>",
279
+ "value": "<length-percentage>",
280
280
  "initial": "0",
281
281
  "appliesTo": "floats",
282
282
  "inherited": "no",
@@ -14,7 +14,7 @@
14
14
  "percentages": "n/a",
15
15
  "computedValue": "as specified",
16
16
  "canonicalOrder": "per grammar",
17
- "animationType": "(see prose)",
17
+ "animationType": "see prose",
18
18
  "values": [
19
19
  {
20
20
  "name": "none",
package/css-rhythm.json CHANGED
@@ -23,8 +23,8 @@
23
23
  {
24
24
  "name": "block-step-insert",
25
25
  "href": "https://drafts.csswg.org/css-rhythm-1/#propdef-block-step-insert",
26
- "value": "margin | padding",
27
- "initial": "margin",
26
+ "value": "margin-box | padding-box | content-box",
27
+ "initial": "margin-box",
28
28
  "appliesTo": "block-level boxes",
29
29
  "inherited": "no",
30
30
  "percentages": "N/A",
@@ -33,18 +33,25 @@
33
33
  "animationType": "discrete",
34
34
  "values": [
35
35
  {
36
- "name": "margin",
36
+ "name": "margin-box",
37
37
  "prose": "Any extra space resulting from a block-step-size-induced adjustment is inserted outside the box’s border, as extra margin.",
38
- "href": "https://drafts.csswg.org/css-rhythm-1/#valdef-block-step-insert-margin",
38
+ "href": "https://drafts.csswg.org/css-rhythm-1/#valdef-block-step-insert-margin-box",
39
39
  "type": "value",
40
- "value": "margin"
40
+ "value": "margin-box"
41
41
  },
42
42
  {
43
- "name": "padding",
43
+ "name": "padding-box",
44
44
  "prose": "Any extra space resulting from a block-step-size-induced adjustment is inserted inside the box’s border, as extra padding.",
45
- "href": "https://drafts.csswg.org/css-rhythm-1/#valdef-block-step-insert-padding",
45
+ "href": "https://drafts.csswg.org/css-rhythm-1/#valdef-block-step-insert-padding-box",
46
46
  "type": "value",
47
- "value": "padding"
47
+ "value": "padding-box"
48
+ },
49
+ {
50
+ "name": "content-box",
51
+ "prose": "Any extra space resulting from a block-step-size-induced adjustment is inserted inside the box’s border by increasing the height of the content area.",
52
+ "href": "https://drafts.csswg.org/css-rhythm-1/#valdef-block-step-insert-content-box",
53
+ "type": "value",
54
+ "value": "content-box"
48
55
  }
49
56
  ],
50
57
  "styleDeclaration": [
@@ -155,7 +162,7 @@
155
162
  "name": "line-height-step",
156
163
  "href": "https://drafts.csswg.org/css-rhythm-1/#propdef-line-height-step",
157
164
  "value": "<length [0,∞]>",
158
- "initial": "0px",
165
+ "initial": "0",
159
166
  "appliesTo": "block containers",
160
167
  "inherited": "yes",
161
168
  "percentages": "N/A",
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "scroll-start-target",
9
9
  "href": "https://drafts.csswg.org/css-scroll-snap-2/#propdef-scroll-start-target",
10
- "value": "[ none | auto ]",
10
+ "value": "none | auto",
11
11
  "initial": "none",
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "no",
package/css-text-4.json CHANGED
@@ -123,7 +123,7 @@
123
123
  "value": "normal | pre | pre-wrap | pre-line | <'white-space-collapse'> || <'text-wrap-mode'> || <'white-space-trim'>",
124
124
  "initial": "normal",
125
125
  "appliesTo": "text",
126
- "inherited": "individual properties",
126
+ "inherited": "see individual properties",
127
127
  "percentages": "n/a",
128
128
  "computedValue": "specified keyword",
129
129
  "canonicalOrder": "n/a",
package/css-ui.json CHANGED
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "outline",
9
9
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline",
10
- "value": "[ <'outline-width'> || <'outline-style'> || <'outline-color'> ]",
10
+ "value": "<'outline-width'> || <'outline-style'> || <'outline-color'>",
11
11
  "initial": "see individual properties",
12
12
  "appliesTo": "all elements",
13
13
  "inherited": "no",
@@ -54,7 +54,7 @@
54
54
  {
55
55
  "name": "outline-color",
56
56
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-outline-color",
57
- "value": "auto | [ <color> | <image-1D> ]",
57
+ "value": "auto | <color> | <image-1D>",
58
58
  "initial": "auto",
59
59
  "appliesTo": "all elements",
60
60
  "inherited": "no",
package/css-values-5.json CHANGED
@@ -25,7 +25,7 @@
25
25
  },
26
26
  {
27
27
  "name": "allow-keywords",
28
- "prose": "Two values can be interpolated if one of them is an <intrinsic-size-keyword> and the other is a <length-percentage>. This is done by treating the <intrinsic-size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 10.3 Interpolating calc-size(). In other cases, an <intrinsic-size-keyword> still cannot be interpolated.",
28
+ "prose": "Two values can also be interpolated if one of them is an <intrinsic-size-keyword> and the other is a <length-percentage>. This is done by treating the <intrinsic-size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 10.3 Interpolating calc-size(). In other cases, an <intrinsic-size-keyword> still cannot be interpolated.",
29
29
  "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-allow-keywords",
30
30
  "type": "value",
31
31
  "value": "allow-keywords"
@@ -40,11 +40,17 @@
40
40
  "atrules": [],
41
41
  "selectors": [],
42
42
  "values": [
43
+ {
44
+ "name": "<boolean-expr[]>",
45
+ "prose": "Several contexts (such as @media, @supports, if(), ...) specify conditions, and allow combining those conditions with boolean logic (and/or/not/grouping). Because they use the same non-trivial recursive syntax structure, the special <boolean-expr[]> production represents this pattern generically.",
46
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-boolean-expr",
47
+ "type": "type"
48
+ },
43
49
  {
44
50
  "name": "<syntax>",
45
51
  "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax",
46
52
  "type": "type",
47
- "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]+"
53
+ "value": "'*' | <syntax-component> [ <syntax-combinator> <syntax-component> ]* | <syntax-string>"
48
54
  },
49
55
  {
50
56
  "name": "<syntax-component>",
@@ -76,6 +82,12 @@
76
82
  "type": "type",
77
83
  "value": "[ '#' | '+' ]"
78
84
  },
85
+ {
86
+ "name": "<syntax-string>",
87
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-syntax-string",
88
+ "type": "type",
89
+ "value": "<string>"
90
+ },
79
91
  {
80
92
  "name": "<request-url-modifier>",
81
93
  "prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 § 4.5.4 URL Processing Model.",
@@ -326,7 +338,7 @@
326
338
  "name": "<progress()>",
327
339
  "href": "https://drafts.csswg.org/css-values-5/#typedef-progress-fn",
328
340
  "type": "type",
329
- "value": "progress(<calc-sum> from <calc-sum> to <calc-sum>)"
341
+ "value": "progress(<calc-sum>, <calc-sum>, <calc-sum>)"
330
342
  },
331
343
  {
332
344
  "name": "media-progress()",
@@ -338,7 +350,7 @@
338
350
  "name": "<media-progress()>",
339
351
  "href": "https://drafts.csswg.org/css-values-5/#typedef-media-progress",
340
352
  "type": "type",
341
- "value": "media-progress(<media-feature> from <calc-sum> to <calc-sum>)"
353
+ "value": "media-progress(<mf-name>, <calc-sum>, <calc-sum>)"
342
354
  },
343
355
  {
344
356
  "name": "container-progress()",
@@ -350,7 +362,7 @@
350
362
  "name": "<container-progress()>",
351
363
  "href": "https://drafts.csswg.org/css-values-5/#typedef-container-progress",
352
364
  "type": "type",
353
- "value": "container-progress(<size-feature> [ of <container-name> ]? from <calc-sum> to <calc-sum>)"
365
+ "value": "container-progress(<mf-name> [ of <container-name> ]?, <calc-sum>, <calc-sum>)"
354
366
  },
355
367
  {
356
368
  "name": "<progress>",
@@ -423,7 +435,7 @@
423
435
  "name": "<mix()>",
424
436
  "href": "https://drafts.csswg.org/css-values-5/#typedef-mix",
425
437
  "type": "type",
426
- "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <'animation-name'> )"
438
+ "value": "mix( <progress> , <whole-value> , <whole-value> ) | mix( <progress> && of <keyframes-name> )"
427
439
  },
428
440
  {
429
441
  "name": "first-valid()",
@@ -437,6 +449,38 @@
437
449
  "type": "type",
438
450
  "value": "first-valid( <declaration-value># )"
439
451
  },
452
+ {
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.",
455
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
456
+ "type": "function",
457
+ "values": [
458
+ {
459
+ "name": "else",
460
+ "prose": "The else keyword represents a condition that is always true.",
461
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-if-else",
462
+ "type": "value",
463
+ "value": "else"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "name": "<if()>",
469
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
470
+ "type": "type",
471
+ "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ';'? )"
472
+ },
473
+ {
474
+ "name": "<if-condition>",
475
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
476
+ "type": "type"
477
+ },
478
+ {
479
+ "name": "<if-test>",
480
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-test",
481
+ "type": "type",
482
+ "value": "supports( [ <supports-condition> | <ident> : <declaration-value> ] ) | media( <media-query> ) | style( <style-query> )"
483
+ },
440
484
  {
441
485
  "name": "toggle()",
442
486
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
@@ -449,91 +493,24 @@
449
493
  "type": "type",
450
494
  "value": "toggle( <whole-value># )"
451
495
  },
496
+ {
497
+ "name": "inherit()",
498
+ "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.",
499
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "name": "<inherit()>",
504
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit",
505
+ "type": "type",
506
+ "value": "inherit( <custom-property-name>, <declaration-value>? )"
507
+ },
452
508
  {
453
509
  "name": "attr()",
454
510
  "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.",
455
511
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-attr",
456
512
  "type": "function",
457
- "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)",
458
- "values": [
459
- {
460
- "name": "string",
461
- "prose": "The substitution value is a CSS string, whose value is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
462
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-string",
463
- "type": "value",
464
- "value": "string"
465
- },
466
- {
467
- "name": "ident",
468
- "prose": "The substitution value is a CSS <custom-ident>, whose value is the literal value of the attribute, with leading and trailing ASCII whitespace stripped. (No CSS parsing of the value is performed.) If the attribute value, after trimming, is the empty string, there is instead no substitution value. If the <custom-ident>’s value is a CSS-wide keyword or default, there is instead no substitution value.",
469
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-ident",
470
- "type": "value",
471
- "value": "ident"
472
- },
473
- {
474
- "name": "color",
475
- "prose": "Parse a component value from the attribute’s value. If the result is a <hex-color> or a named color ident, the substitution value is that result as a <color>. Otherwise there is no substitution value.",
476
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-color",
477
- "type": "value",
478
- "value": "color"
479
- },
480
- {
481
- "name": "number",
482
- "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the result is the substitution value. Otherwise, there is no substitution value.",
483
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-number",
484
- "type": "value",
485
- "value": "number"
486
- },
487
- {
488
- "name": "percentage",
489
- "prose": "Parse a component value from the attribute’s value. If the result is a <percentage-token>, the result is the substitution value. Otherwise, there is no substitution value.",
490
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-percentage",
491
- "type": "value",
492
- "value": "percentage"
493
- },
494
- {
495
- "name": "length",
496
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
497
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-length",
498
- "type": "value",
499
- "value": "length"
500
- },
501
- {
502
- "name": "angle",
503
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
504
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-angle",
505
- "type": "value",
506
- "value": "angle"
507
- },
508
- {
509
- "name": "time",
510
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
511
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-time",
512
- "type": "value",
513
- "value": "time"
514
- },
515
- {
516
- "name": "frequency",
517
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
518
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-frequency",
519
- "type": "value",
520
- "value": "frequency"
521
- },
522
- {
523
- "name": "flex",
524
- "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
525
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-flex",
526
- "type": "value",
527
- "value": "flex"
528
- },
529
- {
530
- "name": "<dimension-unit>",
531
- "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the substitution value is a dimension with the result’s value, and the given unit. Otherwise, there is no substitution value.",
532
- "href": "https://drafts.csswg.org/css-values-5/#valdef-attr-dimension-unit",
533
- "type": "value",
534
- "value": "<dimension-unit>"
535
- }
536
- ]
513
+ "value": "attr( <attr-name> <attr-type>? , <declaration-value>?)"
537
514
  },
538
515
  {
539
516
  "name": "<attr-name>",
@@ -545,12 +522,12 @@
545
522
  "name": "<attr-type>",
546
523
  "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-type",
547
524
  "type": "type",
548
- "value": "string | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
525
+ "value": "type( <syntax> ) | string | <attr-unit>"
549
526
  },
550
527
  {
551
- "name": "<dimension-unit>",
552
- "prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
553
- "href": "https://drafts.csswg.org/css-values-5/#typedef-dimension-unit",
528
+ "name": "<attr-unit>",
529
+ "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.",
530
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-unit",
554
531
  "type": "type"
555
532
  },
556
533
  {
@@ -621,6 +598,16 @@
621
598
  }
622
599
  ],
623
600
  "warnings": [
601
+ {
602
+ "msg": "Missing definition",
603
+ "name": "]>",
604
+ "value": "not <boolean-expr-group> | <boolean-expr-group> [ [ and <boolean-expr-group> ]* | [ or <boolean-expr-group> ]* ]"
605
+ },
606
+ {
607
+ "msg": "Missing definition",
608
+ "name": "<boolean-expr-group>",
609
+ "value": "<test> | ( <boolean-expr[ <test> ]> ) | <general-enclosed>"
610
+ },
624
611
  {
625
612
  "msg": "Missing definition",
626
613
  "name": "progress-function()",
package/css-values.json CHANGED
@@ -780,54 +780,6 @@
780
780
  "type": "type",
781
781
  "value": "e | pi | infinity | -infinity | NaN"
782
782
  },
783
- {
784
- "name": "<boolean>",
785
- "href": "https://drafts.csswg.org/css-values-4/#typedef-boolean",
786
- "type": "type",
787
- "value": "<bool-not> | <bool-in-parens> [ <bool-and>* | <bool-or>* ]"
788
- },
789
- {
790
- "name": "<boolean-without-or>",
791
- "href": "https://drafts.csswg.org/css-values-4/#typedef-boolean-without-or",
792
- "type": "type",
793
- "value": "<bool-not> | <bool-in-parens> <bool-and>*"
794
- },
795
- {
796
- "name": "<bool-not>",
797
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-not",
798
- "type": "type",
799
- "value": "not <bool-in-parens>"
800
- },
801
- {
802
- "name": "<bool-and>",
803
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-and",
804
- "type": "type",
805
- "value": "and <bool-in-parens>"
806
- },
807
- {
808
- "name": "<bool-or>",
809
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-or",
810
- "type": "type",
811
- "value": "or <bool-in-parens>"
812
- },
813
- {
814
- "name": "<bool-in-parens>",
815
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-in-parens",
816
- "type": "type",
817
- "value": "( <boolean> ) | <bool-test> | <general-enclosed>"
818
- },
819
- {
820
- "name": "<general-enclosed>",
821
- "href": "https://drafts.csswg.org/css-values-4/#typedef-general-enclosed",
822
- "type": "type",
823
- "value": "[ <function-token> <any-value>? ) ] | [ ( <any-value>? ) ]"
824
- },
825
- {
826
- "name": "<bool-test>",
827
- "prose": "Each specification using <boolean> must define what things are valid as <bool-test> values in that context, and whether it uses 2-value or 3-value logic. As well, <bool-test> values should either be wrapped in parentheses or be functions; if a specification needs to express some conditions in a different way, please contact the CSSWG for review.",
828
- "href": "https://drafts.csswg.org/css-values-4/#typedef-bool-test",
829
- "type": "type"
830
- },
831
783
  {
832
784
  "name": "<quirky-length>",
833
785
  "prose": "When CSS is being parsed in quirks mode, <quirky-length> is a type of <length> that is only valid in certain properties:",
package/motion.json CHANGED
@@ -26,7 +26,7 @@
26
26
  },
27
27
  {
28
28
  "name": "<offset-path> || <coord-box>",
29
- "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 2 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
29
+ "prose": "The element has an offset transform, defined by some offset path. See § 2.7 Calculating The Offset Transform for details on how to calculate the offset transform. All the usual effects of having a transform apply (such as creating a stacking context, etc.) See CSS Transforms 1 § 3 The Transform Rendering Model for details. If <offset-path> is omitted, it defaults to inset(0 round X), where X is the value of border-radius on the element that establishes the containing block for this element. If <coord-box> is omitted, it defaults to border-box. See the specific values (below) for the interpretation of each component.",
30
30
  "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-offset-path--coord-box",
31
31
  "type": "value",
32
32
  "value": "<offset-path> || <coord-box>"
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.17.0",
4
+ "version": "6.17.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"