@webref/css 6.25.11 → 6.25.13

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.
@@ -36,6 +36,67 @@
36
36
  "animationDuration"
37
37
  ]
38
38
  },
39
+ {
40
+ "name": "animation-delay-start",
41
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-delay-start",
42
+ "value": "<time>#",
43
+ "initial": "0s",
44
+ "appliesTo": "all elements",
45
+ "inherited": "no",
46
+ "percentages": "N/A",
47
+ "computedValue": "list, each item a duration",
48
+ "canonicalOrder": "per grammar",
49
+ "animationType": "not animatable",
50
+ "values": [
51
+ {
52
+ "name": "<time>",
53
+ "prose": "The <time> defines how long of a delay there is between the start of the animation (when the animation is applied to the element via these properties) and when it begins executing. A delay of 0s (the initial value) means that the animation will execute as soon as it is applied. A negative delay is valid. Similar to a delay of 0s, it means that the animation executes immediately, but is automatically progressed by the absolute value of the delay, as if the animation had started the specified time in the past, and so it appears to start partway through its active duration. If an animation’s keyframes have an implied starting value, the values are taken from the time the animation starts, not some time in the past.",
54
+ "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-delay-start-time",
55
+ "type": "value",
56
+ "value": "<time>"
57
+ }
58
+ ],
59
+ "styleDeclaration": [
60
+ "animation-delay-start",
61
+ "animationDelayStart"
62
+ ]
63
+ },
64
+ {
65
+ "name": "animation-delay-end",
66
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-delay-end",
67
+ "value": "<time [0s,∞]>#",
68
+ "initial": "0s",
69
+ "appliesTo": "all elements",
70
+ "inherited": "no",
71
+ "percentages": "N/A",
72
+ "computedValue": "list, each item a duration",
73
+ "canonicalOrder": "per grammar",
74
+ "animationType": "not animatable",
75
+ "styleDeclaration": [
76
+ "animation-delay-end",
77
+ "animationDelayEnd"
78
+ ]
79
+ },
80
+ {
81
+ "name": "animation-delay",
82
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-delay",
83
+ "value": "[ <'animation-delay-start'> <'animation-delay-end'>? ]#",
84
+ "initial": "see individual properties",
85
+ "appliesTo": "see individual properties",
86
+ "inherited": "see individual properties",
87
+ "percentages": "see individual properties",
88
+ "computedValue": "see individual properties",
89
+ "animationType": "see individual properties",
90
+ "canonicalOrder": "per grammar",
91
+ "styleDeclaration": [
92
+ "animation-delay",
93
+ "animationDelay"
94
+ ],
95
+ "longhands": [
96
+ "animation-delay-start",
97
+ "animation-delay-end"
98
+ ]
99
+ },
39
100
  {
40
101
  "name": "animation-composition",
41
102
  "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-composition",
@@ -123,7 +184,7 @@
123
184
  },
124
185
  {
125
186
  "name": "<single-animation>",
126
- "value": "<'animation-duration'> || <easing-function> || <'animation-delay'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
187
+ "value": "<'animation-duration'> || <easing-function> || <'animation-delay-start'> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ] || <single-animation-timeline>",
127
188
  "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation",
128
189
  "type": "type"
129
190
  }
@@ -682,13 +682,13 @@
682
682
  "name": "<bg-layer>",
683
683
  "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-layer",
684
684
  "type": "type",
685
- "value": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box>"
685
+ "value": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <bg-clip>"
686
686
  },
687
687
  {
688
688
  "name": "<final-bg-layer>",
689
689
  "href": "https://drafts.csswg.org/css-backgrounds-4/#typedef-final-bg-layer",
690
690
  "type": "type",
691
- "value": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <bg-clip> || <visual-box> || <'background-color'>"
691
+ "value": "<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <visual-box> || <bg-clip> || <'background-color'>"
692
692
  }
693
693
  ]
694
694
  }
package/css-box.json CHANGED
@@ -96,12 +96,12 @@
96
96
  {
97
97
  "name": "margin-trim",
98
98
  "href": "https://drafts.csswg.org/css-box-4/#propdef-margin-trim",
99
- "value": "none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]",
99
+ "value": "none | block | [ block-start || block-end ]",
100
100
  "initial": "none",
101
- "appliesTo": "block containers, multi-column containers, flex containers, grid containers",
101
+ "appliesTo": "block containers, multi-column containers",
102
102
  "inherited": "no",
103
103
  "percentages": "N/A",
104
- "computedValue": "a set of zero to four keywords indicating which sides to trim",
104
+ "computedValue": "a set of zero to two keywords indicating which sides to trim",
105
105
  "canonicalOrder": "per grammar",
106
106
  "animationType": "discrete",
107
107
  "values": [
@@ -126,33 +126,12 @@
126
126
  "type": "value",
127
127
  "value": "block-end"
128
128
  },
129
- {
130
- "name": "inline-start",
131
- "prose": "Computes to block-start block-end.",
132
- "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-inline-start",
133
- "type": "value",
134
- "value": "inline-start"
135
- },
136
- {
137
- "name": "inline-end",
138
- "prose": "Computes to block-start block-end.",
139
- "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-inline-end",
140
- "type": "value",
141
- "value": "inline-end"
142
- },
143
129
  {
144
130
  "name": "block",
145
131
  "prose": "Computes to block-start block-end.",
146
132
  "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-block",
147
133
  "type": "value",
148
134
  "value": "block"
149
- },
150
- {
151
- "name": "inline",
152
- "prose": "Computes to inline-start inline-end.",
153
- "href": "https://drafts.csswg.org/css-box-4/#valdef-margin-trim-inline",
154
- "type": "value",
155
- "value": "inline"
156
135
  }
157
136
  ],
158
137
  "styleDeclaration": [
package/css-color.json CHANGED
@@ -83,161 +83,161 @@
83
83
  },
84
84
  {
85
85
  "name": "ActiveBorder",
86
- "prose": "Active window border. Same as ButtonBorder.",
86
+ "prose": "Active window border. Computes to the color of ButtonBorder.",
87
87
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-activeborder",
88
88
  "type": "value",
89
89
  "value": "ActiveBorder"
90
90
  },
91
91
  {
92
92
  "name": "ActiveCaption",
93
- "prose": "Active window caption. Same as Canvas.",
93
+ "prose": "Active window caption. Computes to the color of Canvas.",
94
94
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-activecaption",
95
95
  "type": "value",
96
96
  "value": "ActiveCaption"
97
97
  },
98
98
  {
99
99
  "name": "AppWorkspace",
100
- "prose": "Background color of multiple document interface. Same as Canvas.",
100
+ "prose": "Background color of multiple document interface. Computes to the color of Canvas.",
101
101
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-appworkspace",
102
102
  "type": "value",
103
103
  "value": "AppWorkspace"
104
104
  },
105
105
  {
106
106
  "name": "Background",
107
- "prose": "Desktop background. Same as Canvas.",
107
+ "prose": "Desktop background. Computes to the color of Canvas.",
108
108
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-background",
109
109
  "type": "value",
110
110
  "value": "Background"
111
111
  },
112
112
  {
113
113
  "name": "ButtonHighlight",
114
- "prose": "The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Same as ButtonFace.",
114
+ "prose": "The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Computes to the color of ButtonFace.",
115
115
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-buttonhighlight",
116
116
  "type": "value",
117
117
  "value": "ButtonHighlight"
118
118
  },
119
119
  {
120
120
  "name": "ButtonShadow",
121
- "prose": "The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Same as ButtonFace.",
121
+ "prose": "The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Computes to the color of ButtonFace.",
122
122
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-buttonshadow",
123
123
  "type": "value",
124
124
  "value": "ButtonShadow"
125
125
  },
126
126
  {
127
127
  "name": "CaptionText",
128
- "prose": "Text in caption, size box, and scrollbar arrow box. Same as CanvasText.",
128
+ "prose": "Text in caption, size box, and scrollbar arrow box. Computes to the color of CanvasText.",
129
129
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-captiontext",
130
130
  "type": "value",
131
131
  "value": "CaptionText"
132
132
  },
133
133
  {
134
134
  "name": "InactiveBorder",
135
- "prose": "Inactive window border. Same as ButtonBorder.",
135
+ "prose": "Inactive window border. Computes to the color of ButtonBorder.",
136
136
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-inactiveborder",
137
137
  "type": "value",
138
138
  "value": "InactiveBorder"
139
139
  },
140
140
  {
141
141
  "name": "InactiveCaption",
142
- "prose": "Inactive window caption. Same as Canvas.",
142
+ "prose": "Inactive window caption. Computes to the color of Canvas.",
143
143
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-inactivecaption",
144
144
  "type": "value",
145
145
  "value": "InactiveCaption"
146
146
  },
147
147
  {
148
148
  "name": "InactiveCaptionText",
149
- "prose": "Color of text in an inactive caption. Same as GrayText.",
149
+ "prose": "Color of text in an inactive caption. Computes to the color of GrayText.",
150
150
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-inactivecaptiontext",
151
151
  "type": "value",
152
152
  "value": "InactiveCaptionText"
153
153
  },
154
154
  {
155
155
  "name": "InfoBackground",
156
- "prose": "Background color for tooltip controls. Same as Canvas.",
156
+ "prose": "Background color for tooltip controls. Computes to the color of Canvas.",
157
157
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-infobackground",
158
158
  "type": "value",
159
159
  "value": "InfoBackground"
160
160
  },
161
161
  {
162
162
  "name": "InfoText",
163
- "prose": "Text color for tooltip controls. Same as CanvasText.",
163
+ "prose": "Text color for tooltip controls. Computes to the color of CanvasText.",
164
164
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-infotext",
165
165
  "type": "value",
166
166
  "value": "InfoText"
167
167
  },
168
168
  {
169
169
  "name": "Menu",
170
- "prose": "Menu background. Same as Canvas.",
170
+ "prose": "Menu background. Computes to the color of Canvas.",
171
171
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-menu",
172
172
  "type": "value",
173
173
  "value": "Menu"
174
174
  },
175
175
  {
176
176
  "name": "MenuText",
177
- "prose": "Text in menus. Same as CanvasText.",
177
+ "prose": "Text in menus. Computes to the color of CanvasText.",
178
178
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-menutext",
179
179
  "type": "value",
180
180
  "value": "MenuText"
181
181
  },
182
182
  {
183
183
  "name": "Scrollbar",
184
- "prose": "Scroll bar gray area. Same as Canvas.",
184
+ "prose": "Scroll bar gray area. Computes to the color of Canvas.",
185
185
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-scrollbar",
186
186
  "type": "value",
187
187
  "value": "Scrollbar"
188
188
  },
189
189
  {
190
190
  "name": "ThreeDDarkShadow",
191
- "prose": "The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
191
+ "prose": "The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
192
192
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threeddarkshadow",
193
193
  "type": "value",
194
194
  "value": "ThreeDDarkShadow"
195
195
  },
196
196
  {
197
197
  "name": "ThreeDFace",
198
- "prose": "The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonFace.",
198
+ "prose": "The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonFace.",
199
199
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedface",
200
200
  "type": "value",
201
201
  "value": "ThreeDFace"
202
202
  },
203
203
  {
204
204
  "name": "ThreeDHighlight",
205
- "prose": "The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
205
+ "prose": "The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
206
206
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedhighlight",
207
207
  "type": "value",
208
208
  "value": "ThreeDHighlight"
209
209
  },
210
210
  {
211
211
  "name": "ThreeDLightShadow",
212
- "prose": "The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
212
+ "prose": "The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
213
213
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedlightshadow",
214
214
  "type": "value",
215
215
  "value": "ThreeDLightShadow"
216
216
  },
217
217
  {
218
218
  "name": "ThreeDShadow",
219
- "prose": "The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
219
+ "prose": "The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
220
220
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedshadow",
221
221
  "type": "value",
222
222
  "value": "ThreeDShadow"
223
223
  },
224
224
  {
225
225
  "name": "Window",
226
- "prose": "Window background. Same as Canvas.",
226
+ "prose": "Window background. Computes to the color of Canvas.",
227
227
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-window",
228
228
  "type": "value",
229
229
  "value": "Window"
230
230
  },
231
231
  {
232
232
  "name": "WindowFrame",
233
- "prose": "Window frame. Same as ButtonBorder.",
233
+ "prose": "Window frame. Computes to the color of ButtonBorder.",
234
234
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-windowframe",
235
235
  "type": "value",
236
236
  "value": "WindowFrame"
237
237
  },
238
238
  {
239
239
  "name": "WindowText",
240
- "prose": "Text in windows. Same as CanvasText.",
240
+ "prose": "Text in windows. Computes to the color of CanvasText.",
241
241
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-windowtext",
242
242
  "type": "value",
243
243
  "value": "WindowText"
@@ -1465,7 +1465,7 @@
1465
1465
  "values": [
1466
1466
  {
1467
1467
  "name": "srgb",
1468
- "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1468
+ "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in Oklch. The primaries and secondaries are shown.",
1469
1469
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb",
1470
1470
  "type": "value",
1471
1471
  "value": "srgb"
@@ -1479,7 +1479,7 @@
1479
1479
  },
1480
1480
  {
1481
1481
  "name": "display-p3",
1482
- "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m Black luminance 0.80 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
1482
+ "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m Black luminance 0.80 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in Oklch. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
1483
1483
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-display-p3",
1484
1484
  "type": "value",
1485
1485
  "value": "display-p3"
@@ -1493,21 +1493,21 @@
1493
1493
  },
1494
1494
  {
1495
1495
  "name": "a98-rgb",
1496
- "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m Black luminance 0.5557 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
1496
+ "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m Black luminance 0.5557 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in Oklch. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
1497
1497
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb",
1498
1498
  "type": "value",
1499
1499
  "value": "a98-rgb"
1500
1500
  },
1501
1501
  {
1502
1502
  "name": "prophoto-rgb",
1503
- "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
1503
+ "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in Oklch. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
1504
1504
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb",
1505
1505
  "type": "value",
1506
1506
  "value": "prophoto-rgb"
1507
1507
  },
1508
1508
  {
1509
1509
  "name": "rec2020",
1510
- "prose": "The rec2020 [Rec.2020] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1], (\"full-range\", in video terminology). ITU Reference 2020 is used for Ultra High Definition, 4k and 8k television. The primaries are physically realizable, but with difficulty as they lie very close to the spectral locus. Current displays are unable to reproduce the full gamut of rec2020. Coverage is expected to increase over time as displays improve. It has the following characteristics: x y Red chromaticity 0.708 0.292 Green chromaticity 0.170 0.797 Blue chromaticity 0.131 0.046 White chromaticity D65 Transfer function gamma 2.40, from [REC_BT.1886] Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the rec2020 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. rec2020 primaries have much higher Chroma.",
1510
+ "prose": "The rec2020 [Rec.2020] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1], (\"full-range\", in video terminology). ITU Reference 2020 is used for Ultra High Definition, 4k and 8k television. The primaries are physically realizable, but with difficulty as they lie very close to the spectral locus. Current displays are unable to reproduce the full gamut of rec2020. Coverage is expected to increase over time as displays improve. It has the following characteristics: x y Red chromaticity 0.708 0.292 Green chromaticity 0.170 0.797 Blue chromaticity 0.131 0.046 White chromaticity D65 Transfer function gamma 2.40, from [REC_BT.1886] Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the rec2020 color space in Oklch. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. rec2020 primaries have much higher Chroma.",
1511
1511
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-rec2020",
1512
1512
  "type": "value",
1513
1513
  "value": "rec2020"
@@ -1597,161 +1597,161 @@
1597
1597
  "values": [
1598
1598
  {
1599
1599
  "name": "ActiveBorder",
1600
- "prose": "Active window border. Same as ButtonBorder.",
1600
+ "prose": "Active window border. Computes to the color of ButtonBorder.",
1601
1601
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-activeborder",
1602
1602
  "type": "value",
1603
1603
  "value": "ActiveBorder"
1604
1604
  },
1605
1605
  {
1606
1606
  "name": "ActiveCaption",
1607
- "prose": "Active window caption. Same as Canvas.",
1607
+ "prose": "Active window caption. Computes to the color of Canvas.",
1608
1608
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-activecaption",
1609
1609
  "type": "value",
1610
1610
  "value": "ActiveCaption"
1611
1611
  },
1612
1612
  {
1613
1613
  "name": "AppWorkspace",
1614
- "prose": "Background color of multiple document interface. Same as Canvas.",
1614
+ "prose": "Background color of multiple document interface. Computes to the color of Canvas.",
1615
1615
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-appworkspace",
1616
1616
  "type": "value",
1617
1617
  "value": "AppWorkspace"
1618
1618
  },
1619
1619
  {
1620
1620
  "name": "Background",
1621
- "prose": "Desktop background. Same as Canvas.",
1621
+ "prose": "Desktop background. Computes to the color of Canvas.",
1622
1622
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-background",
1623
1623
  "type": "value",
1624
1624
  "value": "Background"
1625
1625
  },
1626
1626
  {
1627
1627
  "name": "ButtonHighlight",
1628
- "prose": "The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Same as ButtonFace.",
1628
+ "prose": "The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Computes to the color of ButtonFace.",
1629
1629
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-buttonhighlight",
1630
1630
  "type": "value",
1631
1631
  "value": "ButtonHighlight"
1632
1632
  },
1633
1633
  {
1634
1634
  "name": "ButtonShadow",
1635
- "prose": "The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Same as ButtonFace.",
1635
+ "prose": "The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border. Computes to the color of ButtonFace.",
1636
1636
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-buttonshadow",
1637
1637
  "type": "value",
1638
1638
  "value": "ButtonShadow"
1639
1639
  },
1640
1640
  {
1641
1641
  "name": "CaptionText",
1642
- "prose": "Text in caption, size box, and scrollbar arrow box. Same as CanvasText.",
1642
+ "prose": "Text in caption, size box, and scrollbar arrow box. Computes to the color of CanvasText.",
1643
1643
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-captiontext",
1644
1644
  "type": "value",
1645
1645
  "value": "CaptionText"
1646
1646
  },
1647
1647
  {
1648
1648
  "name": "InactiveBorder",
1649
- "prose": "Inactive window border. Same as ButtonBorder.",
1649
+ "prose": "Inactive window border. Computes to the color of ButtonBorder.",
1650
1650
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-inactiveborder",
1651
1651
  "type": "value",
1652
1652
  "value": "InactiveBorder"
1653
1653
  },
1654
1654
  {
1655
1655
  "name": "InactiveCaption",
1656
- "prose": "Inactive window caption. Same as Canvas.",
1656
+ "prose": "Inactive window caption. Computes to the color of Canvas.",
1657
1657
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-inactivecaption",
1658
1658
  "type": "value",
1659
1659
  "value": "InactiveCaption"
1660
1660
  },
1661
1661
  {
1662
1662
  "name": "InactiveCaptionText",
1663
- "prose": "Color of text in an inactive caption. Same as GrayText.",
1663
+ "prose": "Color of text in an inactive caption. Computes to the color of GrayText.",
1664
1664
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-inactivecaptiontext",
1665
1665
  "type": "value",
1666
1666
  "value": "InactiveCaptionText"
1667
1667
  },
1668
1668
  {
1669
1669
  "name": "InfoBackground",
1670
- "prose": "Background color for tooltip controls. Same as Canvas.",
1670
+ "prose": "Background color for tooltip controls. Computes to the color of Canvas.",
1671
1671
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-infobackground",
1672
1672
  "type": "value",
1673
1673
  "value": "InfoBackground"
1674
1674
  },
1675
1675
  {
1676
1676
  "name": "InfoText",
1677
- "prose": "Text color for tooltip controls. Same as CanvasText.",
1677
+ "prose": "Text color for tooltip controls. Computes to the color of CanvasText.",
1678
1678
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-infotext",
1679
1679
  "type": "value",
1680
1680
  "value": "InfoText"
1681
1681
  },
1682
1682
  {
1683
1683
  "name": "Menu",
1684
- "prose": "Menu background. Same as Canvas.",
1684
+ "prose": "Menu background. Computes to the color of Canvas.",
1685
1685
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-menu",
1686
1686
  "type": "value",
1687
1687
  "value": "Menu"
1688
1688
  },
1689
1689
  {
1690
1690
  "name": "MenuText",
1691
- "prose": "Text in menus. Same as CanvasText.",
1691
+ "prose": "Text in menus. Computes to the color of CanvasText.",
1692
1692
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-menutext",
1693
1693
  "type": "value",
1694
1694
  "value": "MenuText"
1695
1695
  },
1696
1696
  {
1697
1697
  "name": "Scrollbar",
1698
- "prose": "Scroll bar gray area. Same as Canvas.",
1698
+ "prose": "Scroll bar gray area. Computes to the color of Canvas.",
1699
1699
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-scrollbar",
1700
1700
  "type": "value",
1701
1701
  "value": "Scrollbar"
1702
1702
  },
1703
1703
  {
1704
1704
  "name": "ThreeDDarkShadow",
1705
- "prose": "The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
1705
+ "prose": "The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
1706
1706
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threeddarkshadow",
1707
1707
  "type": "value",
1708
1708
  "value": "ThreeDDarkShadow"
1709
1709
  },
1710
1710
  {
1711
1711
  "name": "ThreeDFace",
1712
- "prose": "The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonFace.",
1712
+ "prose": "The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonFace.",
1713
1713
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedface",
1714
1714
  "type": "value",
1715
1715
  "value": "ThreeDFace"
1716
1716
  },
1717
1717
  {
1718
1718
  "name": "ThreeDHighlight",
1719
- "prose": "The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
1719
+ "prose": "The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
1720
1720
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedhighlight",
1721
1721
  "type": "value",
1722
1722
  "value": "ThreeDHighlight"
1723
1723
  },
1724
1724
  {
1725
1725
  "name": "ThreeDLightShadow",
1726
- "prose": "The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
1726
+ "prose": "The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
1727
1727
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedlightshadow",
1728
1728
  "type": "value",
1729
1729
  "value": "ThreeDLightShadow"
1730
1730
  },
1731
1731
  {
1732
1732
  "name": "ThreeDShadow",
1733
- "prose": "The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Same as ButtonBorder.",
1733
+ "prose": "The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border. Computes to the color of ButtonBorder.",
1734
1734
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-threedshadow",
1735
1735
  "type": "value",
1736
1736
  "value": "ThreeDShadow"
1737
1737
  },
1738
1738
  {
1739
1739
  "name": "Window",
1740
- "prose": "Window background. Same as Canvas.",
1740
+ "prose": "Window background. Computes to the color of Canvas.",
1741
1741
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-window",
1742
1742
  "type": "value",
1743
1743
  "value": "Window"
1744
1744
  },
1745
1745
  {
1746
1746
  "name": "WindowFrame",
1747
- "prose": "Window frame. Same as ButtonBorder.",
1747
+ "prose": "Window frame. Computes to the color of ButtonBorder.",
1748
1748
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-windowframe",
1749
1749
  "type": "value",
1750
1750
  "value": "WindowFrame"
1751
1751
  },
1752
1752
  {
1753
1753
  "name": "WindowText",
1754
- "prose": "Text in windows. Same as CanvasText.",
1754
+ "prose": "Text in windows. Computes to the color of CanvasText.",
1755
1755
  "href": "https://drafts.csswg.org/css-color-4/#valdef-color-windowtext",
1756
1756
  "type": "value",
1757
1757
  "value": "WindowText"
package/css-inline.json CHANGED
@@ -183,7 +183,7 @@
183
183
  "href": "https://drafts.csswg.org/css-inline-3/#propdef-baseline-source",
184
184
  "value": "auto | first | last",
185
185
  "initial": "auto",
186
- "appliesTo": "inline-level boxes",
186
+ "appliesTo": "inline-level boxes that establish an independent formatting context",
187
187
  "inherited": "no",
188
188
  "percentages": "N/A",
189
189
  "computedValue": "specified keyword",
package/css-mixins.json CHANGED
@@ -31,7 +31,7 @@
31
31
  "name": "@mixin",
32
32
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-mixin",
33
33
  "descriptors": [],
34
- "value": "@mixin <function-token> <function-parameter>#? ) { <declaration-rule-list> }"
34
+ "value": "@mixin [<function-token> <function-parameter>#? ) | <ident-token> ] { <declaration-rule-list> }"
35
35
  },
36
36
  {
37
37
  "name": "@result",
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "spec": {
3
- "title": "CSS Route Matching",
3
+ "title": "CSS Navigation Matching",
4
4
  "url": "https://drafts.csswg.org/css-navigation-1/"
5
5
  },
6
6
  "properties": [],
7
7
  "atrules": [
8
8
  {
9
- "name": "@route",
10
- "prose": "The @route rule is an at-rule that associates an author-defined name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
11
- "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-route",
9
+ "name": "@location",
10
+ "prose": "The @location rule is an at-rule that associates an author-defined name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
11
+ "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-location",
12
12
  "descriptors": [],
13
- "value": "<route-rule>"
13
+ "value": "<location-rule>"
14
14
  },
15
15
  {
16
16
  "name": "@navigation",
@@ -35,26 +35,26 @@
35
35
  ],
36
36
  "values": [
37
37
  {
38
- "name": "<route-location>",
39
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-location",
38
+ "name": "<navigation-location>",
39
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location",
40
40
  "type": "type",
41
- "value": "<url> | [ <route-name> | <url-pattern()> ]"
41
+ "value": "<url> | [ <location-name> | <url-pattern()> ]"
42
42
  },
43
43
  {
44
- "name": "<route-name>",
45
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-name",
44
+ "name": "<location-name>",
45
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-name",
46
46
  "type": "type",
47
47
  "value": "<dashed-ident>"
48
48
  },
49
49
  {
50
- "name": "<route-rule>",
51
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-rule",
50
+ "name": "<location-rule>",
51
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-rule",
52
52
  "type": "type",
53
- "value": "@route <dashed-ident> { <declaration-list> }"
53
+ "value": "@location <dashed-ident> { <declaration-list> }"
54
54
  },
55
55
  {
56
- "name": "<route-descriptor>",
57
- "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-descriptor",
56
+ "name": "<location-descriptor>",
57
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-location-descriptor",
58
58
  "type": "type",
59
59
  "value": "<pattern-descriptor> | <init-descriptor> | <base-descriptor>"
60
60
  },
@@ -111,19 +111,19 @@
111
111
  "name": "<navigation-location-test>",
112
112
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-test",
113
113
  "type": "type",
114
- "value": "<navigation-relation> : <route-location>"
114
+ "value": "<navigation-relation> : <navigation-location>"
115
115
  },
116
116
  {
117
117
  "name": "<navigation-relation>",
118
118
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-relation",
119
119
  "type": "type",
120
- "value": "at | with | from | to"
120
+ "value": "at | from | to"
121
121
  },
122
122
  {
123
123
  "name": "<navigation-location-between-test>",
124
124
  "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location-between-test",
125
125
  "type": "type",
126
- "value": "between : <route-location> and <route-location>"
126
+ "value": "between : <navigation-location> and <navigation-location>"
127
127
  },
128
128
  {
129
129
  "name": "<navigation-type-test>",
@@ -89,6 +89,38 @@
89
89
  "scrollMarkerGroup"
90
90
  ]
91
91
  },
92
+ {
93
+ "name": "scroll-axis-lock",
94
+ "href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-axis-lock",
95
+ "value": "auto | none",
96
+ "initial": "auto",
97
+ "appliesTo": "scroll container elements",
98
+ "inherited": "no",
99
+ "percentages": "n/a",
100
+ "computedValue": "specified value",
101
+ "canonicalOrder": "per grammar",
102
+ "animationType": "discrete",
103
+ "values": [
104
+ {
105
+ "name": "none",
106
+ "prose": "The user agent must not lock scrolls on the element to one axis.",
107
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-axis-lock-none",
108
+ "type": "value",
109
+ "value": "none"
110
+ },
111
+ {
112
+ "name": "auto",
113
+ "prose": "The user agent may lock scrolls on the element to one axis.",
114
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-axis-lock-auto",
115
+ "type": "value",
116
+ "value": "auto"
117
+ }
118
+ ],
119
+ "styleDeclaration": [
120
+ "scroll-axis-lock",
121
+ "scrollAxisLock"
122
+ ]
123
+ },
92
124
  {
93
125
  "name": "continue",
94
126
  "newValues": "overflow | paginate | fragments",
@@ -14,24 +14,24 @@
14
14
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-syntax",
15
15
  "for": "@property",
16
16
  "value": "<string>",
17
- "initial": "n/a (see prose)"
17
+ "initial": "\"*\""
18
18
  },
19
19
  {
20
20
  "name": "inherits",
21
21
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-inherits",
22
22
  "for": "@property",
23
23
  "value": "true | false",
24
- "initial": "n/a (see prose)"
24
+ "initial": "true"
25
25
  },
26
26
  {
27
27
  "name": "initial-value",
28
28
  "href": "https://drafts.css-houdini.org/css-properties-values-api-1/#descdef-property-initial-value",
29
29
  "for": "@property",
30
30
  "value": "<declaration-value>?",
31
- "initial": "the guaranteed-invalid value (but see prose)"
31
+ "initial": "the guaranteed-invalid value"
32
32
  }
33
33
  ],
34
- "value": "@property <custom-property-name> { <declaration-list> }"
34
+ "value": "@property <custom-property-name># { <declaration-list> }"
35
35
  }
36
36
  ],
37
37
  "selectors": [],
package/css-text-4.json CHANGED
@@ -465,7 +465,7 @@
465
465
  {
466
466
  "name": "text-wrap-style",
467
467
  "href": "https://drafts.csswg.org/css-text-4/#propdef-text-wrap-style",
468
- "value": "auto | balance | stable | pretty | avoid-orphans",
468
+ "value": "auto | balance | stable | pretty | avoid-short-last-line",
469
469
  "initial": "auto",
470
470
  "appliesTo": "block containers hat establish an inline formatting context",
471
471
  "inherited": "yes",
@@ -497,17 +497,17 @@
497
497
  },
498
498
  {
499
499
  "name": "pretty",
500
- "prose": "Specifies the UA should bias for better layout over speed, and is expected to consider multiple lines when making break decisions. Otherwise equivalent to auto. The user agent may among other things attempt to avoid excessively short last lines, similarly to avoid-orphans, but it should also improve the layout in additional ways. The precise set of improvements is user agent dependent, and may include things such as: reducing the variation in length between lines; avoiding typographic rivers; prioritizing different classes of soft wrap opportunities, hyphenation opportunities, or justification opportunities; avoiding hyphenation on too many consecutive lines… The necessary computations may be expensive, especially when applied to large amounts of text. Authors are encouraged to assess the impact on performance when using text-wrap-style: pretty, and possibly use it selectively where it matters most.",
500
+ "prose": "Specifies the UA should bias for better layout over speed, and is expected to consider multiple lines when making break decisions. Otherwise equivalent to auto. The user agent may among other things attempt to avoid excessively short last lines, similarly to avoid-short-last-line, but it should also improve the layout in additional ways. The precise set of improvements is user agent dependent, and may include things such as: reducing the variation in length between lines; avoiding typographic rivers; prioritizing different classes of soft wrap opportunities, hyphenation opportunities, or justification opportunities; avoiding hyphenation on too many consecutive lines… The necessary computations may be expensive, especially when applied to large amounts of text. Authors are encouraged to assess the impact on performance when using text-wrap-style: pretty, and possibly use it selectively where it matters most.",
501
501
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-pretty",
502
502
  "type": "value",
503
503
  "value": "pretty"
504
504
  },
505
505
  {
506
- "name": "avoid-orphans",
507
- "prose": "Specifies the UA should avoid excessively short last lines, and is expected to consider more than one line when making break decisions (for example, to avoid \"fixing\" an orphan by making the previous line too short). The user agent may decide against improving the last line when it would make some prior line(s) substantially unbalanced. The user agent should not attempt to improve other aspects of the layout beyond what auto if those improvements come at a significant performance cost. For instance, with the given line length, the following test would be wrapped with a single word on the last line, which could be judged too short. ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. Applying text-wrap-style: avoid-orphans could yield something like this instead, which is arguably more pleasing: ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. However, the following fragment is more vexing: Circumnavigating the Mississippi river An attempt to make the last line less short by wrapping the previous line earlier would result in the following: Circumnavigating the Mississippi river While the last line would indeed no longer be short, the penultimate line would be unsightly. In such cases, user agents are expected to prefer the first rendering despite text-wrap-style: avoid-orphans being set.",
508
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-avoid-orphans",
506
+ "name": "avoid-short-last-line",
507
+ "prose": "Specifies the UA should avoid excessively short last lines, and is expected to consider more than one line when making break decisions (for example, to avoid \"fixing\" an orphan by making the previous line too short). The user agent may decide against improving the last line when it would make some prior line(s) substantially unbalanced. The user agent should not attempt to improve other aspects of the layout beyond what auto if those improvements come at a significant performance cost. For instance, with the given line length, the following test would be wrapped with a single word on the last line, which could be judged too short. ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. Applying text-wrap-style: avoid-short-last-line could yield something like this instead, which is arguably more pleasing: ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν. However, the following fragment is more vexing: Circumnavigating the Mississippi river An attempt to make the last line less short by wrapping the previous line earlier would result in the following: Circumnavigating the Mississippi river While the last line would indeed no longer be short, the penultimate line would be unsightly. In such cases, user agents are expected to prefer the first rendering despite text-wrap-style: avoid-short-last-line being set.",
508
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-wrap-style-avoid-short-last-line",
509
509
  "type": "value",
510
- "value": "avoid-orphans"
510
+ "value": "avoid-short-last-line"
511
511
  }
512
512
  ],
513
513
  "styleDeclaration": [
@@ -737,7 +737,7 @@
737
737
  {
738
738
  "name": "hyphenate-limit-chars",
739
739
  "href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-chars",
740
- "value": "[ auto | <integer> ]{1,3}",
740
+ "value": "[ auto | <integer [0,∞]> ]{1,3}",
741
741
  "initial": "auto",
742
742
  "appliesTo": "text",
743
743
  "inherited": "yes",
@@ -762,7 +762,7 @@
762
762
  {
763
763
  "name": "hyphenate-limit-lines",
764
764
  "href": "https://drafts.csswg.org/css-text-4/#propdef-hyphenate-limit-lines",
765
- "value": "no-limit | <integer>",
765
+ "value": "no-limit | <integer [0,∞]>",
766
766
  "initial": "no-limit",
767
767
  "appliesTo": "block containers",
768
768
  "inherited": "yes",
@@ -1232,20 +1232,6 @@
1232
1232
  "type": "value",
1233
1233
  "value": "no-autospace"
1234
1234
  },
1235
- {
1236
- "name": "insert",
1237
- "prose": "The specified spacing is automatically inserted if there are no space characters of any kind (Unicode general category Z) already there. If neither insert nor replace are specified, the behavior is the same as insert.",
1238
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-insert",
1239
- "type": "value",
1240
- "value": "insert"
1241
- },
1242
- {
1243
- "name": "replace",
1244
- "prose": "The specified spacing is automatically inserted even if there is already a space (U+0020) at that point; additionally, the space (U+0020) is removed. Other types of space characters (Unicode general category Z) suppress automatic spacing, as for insert.",
1245
- "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-replace",
1246
- "type": "value",
1247
- "value": "replace"
1248
- },
1249
1235
  {
1250
1236
  "name": "ideograph-alpha",
1251
1237
  "prose": "Creates extra spacing between runs of ideographs and non-ideographic letters, see § 8.4.1 Inter-script Spacing.",
@@ -1267,6 +1253,20 @@
1267
1253
  "type": "value",
1268
1254
  "value": "punctuation"
1269
1255
  },
1256
+ {
1257
+ "name": "insert",
1258
+ "prose": "The specified spacing is automatically inserted if there are no space characters of any kind (Unicode general category Z) already there. This is the default behavior: if neither insert nor replace are specified, insert is assumed.",
1259
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-insert",
1260
+ "type": "value",
1261
+ "value": "insert"
1262
+ },
1263
+ {
1264
+ "name": "replace",
1265
+ "prose": "The specified spacing is automatically inserted even if there is already a space (U+0020) at that point; additionally, the space (U+0020) is removed. Other types of space characters (Unicode general category Z) suppress automatic spacing, as for insert.",
1266
+ "href": "https://drafts.csswg.org/css-text-4/#valdef-text-autospace-replace",
1267
+ "type": "value",
1268
+ "value": "replace"
1269
+ },
1270
1270
  {
1271
1271
  "name": "auto",
1272
1272
  "prose": "The user agent chooses a set of typographically high quality spacing values. Different user agents running on different platforms may pick different values.",
@@ -268,21 +268,21 @@
268
268
  {
269
269
  "name": "text-decoration-inset",
270
270
  "href": "https://drafts.csswg.org/css-text-decor-4/#propdef-text-decoration-inset",
271
- "value": "<length>{1,2} | auto",
271
+ "value": "<length-percentage>{1,2} | auto",
272
272
  "initial": "0",
273
273
  "appliesTo": "all elements",
274
274
  "inherited": "no",
275
- "percentages": "N/A",
275
+ "percentages": "Depending on the value of box-decoration-break, either refer to the inline size of the decorating box or of each individual box fragment",
276
276
  "computedValue": "specified keyword or absolute length",
277
277
  "canonicalOrder": "per grammar",
278
278
  "animationType": "by computed value",
279
279
  "values": [
280
280
  {
281
- "name": "<length>",
282
- "prose": "Adjusts the start or end endpoint of the affected line decorations. Positive values move the endpoint inward (trimming), negative values move it outward (extending). The following example offsets an extra thick underline 1em endwards with respect to the text h1 { text-decoration: underline 0.3em rgba(36,148,187,0.25); text-decoration-inset: 1em -1em; }",
283
- "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-inset-length",
281
+ "name": "<length-percentage>",
282
+ "prose": "Adjusts the start or end endpoint of the affected line decorations. Positive values move the endpoint inward (trimming), negative values move it outward (extending). Percentage values either refer to the total inline size of the decorating box, if box-decoration-break is set to slice, or to the inline size of each individual box fragment, if it is set to clone. The following example offsets an extra thick underline 1em endwards with respect to the text h1 { text-decoration: underline 0.3em rgb(36 148 187 / 0.25); text-decoration-inset: 1em -1em; } In this example, the underline is inset 10% of the inline size of the decorating box from the start and end of it. h1 { text-decoration: underline 0.2em rgb(216 148 23); text-decoration-inset: 10%; } This results in the orange underline being inset by 10 percent from the start and end of the headline. In this example, the underline is inset 10% of the inline size of each box fragment from the end of that fragment. h1 { text-decoration: underline 0.2em rgb(216 148 23); text-decoration-inset: 0 10%; box-decoration-break: clone; } This results in the orange underline of each line being inset by 10 percent from the end.",
283
+ "href": "https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-inset-length-percentage",
284
284
  "type": "value",
285
- "value": "<length>"
285
+ "value": "<length-percentage>"
286
286
  },
287
287
  {
288
288
  "name": "auto",
package/css-values-5.json CHANGED
@@ -18,14 +18,14 @@
18
18
  "values": [
19
19
  {
20
20
  "name": "numeric-only",
21
- "prose": "An <intrinsic-size-keyword> cannot be interpolated.",
21
+ "prose": "A <size-keyword> can only be combined with a compatible <calc-size()>.",
22
22
  "href": "https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-numeric-only",
23
23
  "type": "value",
24
24
  "value": "numeric-only"
25
25
  },
26
26
  {
27
27
  "name": "allow-keywords",
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 § 11.3 Interpolating calc-size(). In other cases, an <intrinsic-size-keyword> still cannot be interpolated.",
28
+ "prose": "Sizing values can also be combined if one of them is an <size-keyword> and the other is a <length-percentage>. This is done by treating the <size-keyword> keyword as though it is calc-size(keyword, size) and applying the rules in § 11.2 Interpolating calc-size(). In other cases, a <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"
@@ -721,7 +721,7 @@
721
721
  },
722
722
  {
723
723
  "name": "<random-cache-key>",
724
- "prose": "The <random-cache-key> specifies the random cache name, allowing it to be explicitly shared (or not) with other uses of random functions. Every random function using the same random cache name will get the same random value; every one using a different random cache name will get unrelated random values. The <dashed-ident> gives the value an explicit name. If omitted, this part of the name is null. element-scoped adds an element-specific identifier to the random cache name, so different elements will get different random values. property-scoped adds the property name the random function is being used on to the random cache name, so different properties will get different random values. Note that shorthand declarations will apply the shorthand property’s name. property-index-scoped adds the property name and the index of the random function among all the random functions used in the same property value to the random cache name, so multiple instances of a random function in the same declaration will each get different random cache names. Note this index is assigned before shorthand expansion. See § 9.4.1 Simplification of <random-key> for how these values resolve. The <random-ua-ident> value, like fixed below, isn’t intended to be specified by authors, but can show up in computed values. It is a <custom-ident> that must start with the prefix ua-, or else it is invalid. When generated automatically by the user agent, it follows certain specific patterns; see § 9.4.1 Simplification of <random-key> for details.",
724
+ "prose": "The <random-cache-key> specifies the random cache name, allowing it to be explicitly shared (or not) with other uses of random functions. Every random function using the same random cache name will get the same random value; every one using a different random cache name will get unrelated random values. The <dashed-ident> gives the value an explicit name. If omitted, this part of the name is null. element-scoped adds an element-specific identifier to the random cache name, so different elements will get different random values. If the random function is being evaluated inside of a custom function, the element-specific identifier is for the \"hypothetical element\" that the function’s styles are evaluated on, so element-scoped will give you different random values on every function invocation. property-scoped adds the property name the random function is being used on to the random cache name, so different properties will get different random values. Note that shorthand declarations will apply the shorthand property’s name. property-index-scoped adds the property name and the index of the random function among all the random functions used in the same property value to the random cache name, so multiple instances of a random function in the same declaration will each get different random cache names. Note this index is assigned before shorthand expansion. See § 9.4.1 Simplification of <random-key> for how these values resolve. The <random-ua-ident> value, like fixed below, isn’t intended to be specified by authors, but can show up in computed values. It is a <custom-ident> that must start with the prefix ua-, or else it is invalid. When generated automatically by the user agent, it follows certain specific patterns; see § 9.4.1 Simplification of <random-key> for details.",
725
725
  "href": "https://drafts.csswg.org/css-values-5/#valdef-random-random-cache-key",
726
726
  "type": "value",
727
727
  "value": "<random-cache-key>"
@@ -788,23 +788,44 @@
788
788
  },
789
789
  {
790
790
  "name": "calc-size()",
791
+ "prose": "The calc-size() function allows math and transition/animation to be performed on these sizes in a safe, well-defined way. Its syntax is as follows:",
791
792
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
792
793
  "type": "function",
793
794
  "value": "calc-size( <calc-size-basis>, <calc-sum> )",
794
795
  "values": [
795
796
  {
796
- "name": "size",
797
- "prose": "Within the calc-size calculation, if the calc-size basis is not any, the keyword size is allowed. This keyword is a <length>, and resolves at used value time.",
798
- "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
797
+ "name": "<size-keyword>",
798
+ "prose": "Indicates that the calc-size() is basing its size off of the specified keyword. Represents any sizing keywords allowed in the context where the function is used. For example, in width, it matches auto, min-content, stretch, etc. Also allows any related sizing functions, like the fit-content() function in width/etc., which is a variation of the fit-content keyword. For all purposes other than actually resolving the size, the calc-size() acts like this keyword. The calc-size calculation will use the corresponding size as the value of its size keyword.",
799
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-size-keyword",
800
+ "type": "type"
801
+ },
802
+ {
803
+ "name": "<calc-sum>",
804
+ "prose": "Indicates that the calc-size() is basing its size off of the specified calculation. For all purposes other than actually resolving the size, the calc-size() acts like this calculation wrapped in a calc() (including, for example, whether it represents a definite or indefinite size). The calc-size calculation will use the corresponding size as the value of its size keyword.",
805
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-calc-sum",
799
806
  "type": "value",
800
- "value": "size"
807
+ "value": "<calc-sum>"
808
+ },
809
+ {
810
+ "name": "<calc-size()>",
811
+ "prose": "Indicates that the outer calc-size() is basing its size off of this inner calc-size(), and will share the same behavior as it. The calc-size calculation will use the size of the inner calc-size() as its size keyword. The size keyword is allowed, in this case, even if the inner calc-size() uses any. For example, in calc-size(calc-size(min-content, size / 2), size + 10%), the outer calc-size() acts as if its calc-size basis was min-content, and will calculate its own size using the result of the inner calc-size(), equivalent to calc-size(min-content, size / 2 + 10%).",
812
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-calc-size",
813
+ "type": "value",
814
+ "value": "<calc-size()>"
801
815
  },
802
816
  {
803
817
  "name": "any",
804
- "prose": "(If the calc-size basis is any, the calc-size() is a definite length, equal to its calc-size calculation.)",
818
+ "prose": "Indicates that the calc-size() does not depend on any additional information, and thus can be interpolated with any other size. The calc-size() function represents a definite size. The calc-size calculation cannot use the size keyword; it is a syntax error for size to appear in the calc-size calculation.",
805
819
  "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-any",
806
820
  "type": "value",
807
821
  "value": "any"
822
+ },
823
+ {
824
+ "name": "size",
825
+ "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
826
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
827
+ "type": "value",
828
+ "value": "size"
808
829
  }
809
830
  ]
810
831
  },
@@ -812,13 +833,7 @@
812
833
  "name": "<calc-size-basis>",
813
834
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
814
835
  "type": "type",
815
- "value": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]"
816
- },
817
- {
818
- "name": "<size-keyword>",
819
- "prose": "The <size-keyword> production matches any sizing keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
820
- "href": "https://drafts.csswg.org/css-values-5/#typedef-size-keyword",
821
- "type": "type"
836
+ "value": "[ <size-keyword> | <calc-sum> | <calc-size()> | any ]"
822
837
  }
823
838
  ],
824
839
  "warnings": [
@@ -841,6 +856,15 @@
841
856
  "msg": "Missing definition",
842
857
  "name": "interpolate-function()",
843
858
  "value": "interpolate-function( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <segment-options>? ] , <input-position>{1,2} : <output-value> , [ [ <easing-function> || <segment-options> ]? , <input-position>{1,2} : <output-value> ]#? )"
859
+ },
860
+ {
861
+ "msg": "Dangling value",
862
+ "name": "size",
863
+ "prose": "Within the calc-size calculation, the size is a <calc-keyword> which is a <length>, and resolves at used value time to the size specified above.",
864
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
865
+ "type": "value",
866
+ "value": "size",
867
+ "for": "calc()"
844
868
  }
845
869
  ]
846
870
  }
@@ -189,7 +189,7 @@
189
189
  "selectors": [
190
190
  {
191
191
  "name": "::view-transition",
192
- "prose": "The ::view-transition pseudo-element is a tree-abiding pseudo-element that is also a pseudo-element root. If its originating element is the document’s document element, its containing block is the snapshot containing block.",
192
+ "prose": "The ::view-transition pseudo-element is a fully styleable pseudo-element that is also a pseudo-element root. If its originating element is the document’s document element, its containing block is the snapshot containing block.",
193
193
  "href": "https://drafts.csswg.org/css-view-transitions-2/#selectordef-view-transition",
194
194
  "value": "::view-transition"
195
195
  },
@@ -241,7 +241,8 @@
241
241
  "name": "<view-transition-type>",
242
242
  "prose": "where <view-transition-type> is any <custom-ident> other than none, and not starting with the string \"-ua-\".",
243
243
  "href": "https://drafts.csswg.org/css-view-transitions-2/#typedef-view-transition-type",
244
- "type": "type"
244
+ "type": "type",
245
+ "value": "<custom-ident>"
245
246
  },
246
247
  {
247
248
  "name": "<pt-name-and-class-selector>",
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.25.11",
4
+ "version": "6.25.13",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/selectors.json CHANGED
@@ -39,7 +39,7 @@
39
39
  },
40
40
  {
41
41
  "name": ":dir()",
42
- "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML5] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
42
+ "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
43
43
  "href": "https://drafts.csswg.org/selectors-4/#dir-pseudo"
44
44
  },
45
45
  {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "name": ":any-link",
52
- "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML5], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
52
+ "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
53
53
  "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo",
54
54
  "value": ":any-link"
55
55
  },
@@ -205,7 +205,7 @@
205
205
  },
206
206
  {
207
207
  "name": ":placeholder-shown",
208
- "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML5]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
208
+ "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
209
209
  "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo",
210
210
  "value": ":placeholder-shown"
211
211
  },
@@ -223,13 +223,13 @@
223
223
  },
224
224
  {
225
225
  "name": ":checked",
226
- "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
226
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
227
227
  "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
228
228
  "value": ":checked"
229
229
  },
230
230
  {
231
231
  "name": ":unchecked",
232
- "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
232
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
233
233
  "href": "https://drafts.csswg.org/selectors-4/#unchecked-pseudo",
234
234
  "value": ":unchecked"
235
235
  },
@@ -241,13 +241,13 @@
241
241
  },
242
242
  {
243
243
  "name": ":valid",
244
- "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
244
+ "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML]). An element which lacks data validity semantics is neither :valid nor :invalid.",
245
245
  "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo",
246
246
  "value": ":valid"
247
247
  },
248
248
  {
249
249
  "name": ":invalid",
250
- "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
250
+ "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML]). An element which lacks data validity semantics is neither :valid nor :invalid.",
251
251
  "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo",
252
252
  "value": ":invalid"
253
253
  },
@@ -549,5 +549,25 @@
549
549
  "href": "https://drafts.csswg.org/selectors-4/#typedef-forgiving-selector-list",
550
550
  "type": "type"
551
551
  }
552
+ ],
553
+ "warnings": [
554
+ {
555
+ "msg": "Dangling value",
556
+ "name": "i",
557
+ "prose": "To match attribute values ASCII case-insensitively regardless of document language rules, the attribute selector may include the identifier i before the closing bracket (]). When this flag is present, UAs must match the attribute’s value ASCII case-insensitively (i.e. [a-z] and [A-Z] are considered equivalent).",
558
+ "href": "https://drafts.csswg.org/selectors-4/#valdef-attribute-selector-i",
559
+ "type": "value",
560
+ "value": "i",
561
+ "for": "attribute selector"
562
+ },
563
+ {
564
+ "msg": "Dangling value",
565
+ "name": "s",
566
+ "prose": "Alternately, the attribute selector may include the identifier s before the closing bracket (]); in this case the UA must match the value case-sensitively, with “identical to” semantics [INFRA], regardless of document language rules.",
567
+ "href": "https://drafts.csswg.org/selectors-4/#valdef-attribute-selector-s",
568
+ "type": "value",
569
+ "value": "s",
570
+ "for": "attribute selector"
571
+ }
552
572
  ]
553
573
  }