@webref/css 6.3.4 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Anchor Positioning",
4
- "url": "https://drafts.csswg.org/css-anchor-1/"
4
+ "url": "https://drafts.csswg.org/css-anchor-position-1/"
5
5
  },
6
6
  "properties": [
7
7
  {
@@ -23,7 +23,7 @@
23
23
  },
24
24
  {
25
25
  "name": "default",
26
- "prose": "Behaves as the value of anchor-default on the element.",
26
+ "prose": "Behaves identically to <anchor-element>, but draws its value from anchor-default on the element.",
27
27
  "type": "value",
28
28
  "value": "default"
29
29
  },
@@ -142,16 +142,10 @@
142
142
  },
143
143
  {
144
144
  "name": "implicit",
145
- "prose": "Selects one of the implicit anchor elements defined for the element, if possible.",
145
+ "prose": "Selects the implicit anchor element defined for the element, if possible.",
146
146
  "type": "value",
147
147
  "value": "implicit"
148
148
  },
149
- {
150
- "name": "popover",
151
- "prose": "If the element has an implicit anchor element defined by the Popover API, uses that if possible.",
152
- "type": "value",
153
- "value": "popover"
154
- },
155
149
  {
156
150
  "name": "auto",
157
151
  "prose": "The auto and auto-same keywords indicate automatic anchor positioning. See § 2.1.1 Automatic Anchor Positioning for details.",
@@ -223,7 +217,7 @@
223
217
  {
224
218
  "name": "<anchor-element>",
225
219
  "type": "type",
226
- "value": "<dashed-ident> | implicit | popover"
220
+ "value": "<dashed-ident> | implicit"
227
221
  },
228
222
  {
229
223
  "name": "<anchor-side>",
@@ -28,7 +28,7 @@
28
28
  "percentages": "N/A",
29
29
  "computedValue": "list, each item either a case-sensitive css identifier or the keywords none, auto.",
30
30
  "canonicalOrder": "per grammar",
31
- "animatable": "no",
31
+ "animationType": "not animatable",
32
32
  "styleDeclaration": [
33
33
  "animation-timeline",
34
34
  "animationTimeline"
@@ -169,6 +169,126 @@
169
169
  "borderColor"
170
170
  ]
171
171
  },
172
+ {
173
+ "name": "border-top-radius",
174
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
175
+ "initial": "0",
176
+ "appliesTo": "all elements (but see prose)",
177
+ "inherited": "no",
178
+ "percentages": "Refer to corresponding dimension of the border box.",
179
+ "computedValue": "see individual properties",
180
+ "canonicalOrder": "per grammar",
181
+ "animatable": "see individual properties",
182
+ "styleDeclaration": [
183
+ "border-top-radius",
184
+ "borderTopRadius"
185
+ ]
186
+ },
187
+ {
188
+ "name": "border-right-radius",
189
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
190
+ "initial": "0",
191
+ "appliesTo": "all elements (but see prose)",
192
+ "inherited": "no",
193
+ "percentages": "Refer to corresponding dimension of the border box.",
194
+ "computedValue": "see individual properties",
195
+ "canonicalOrder": "per grammar",
196
+ "animatable": "see individual properties",
197
+ "styleDeclaration": [
198
+ "border-right-radius",
199
+ "borderRightRadius"
200
+ ]
201
+ },
202
+ {
203
+ "name": "border-bottom-radius",
204
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
205
+ "initial": "0",
206
+ "appliesTo": "all elements (but see prose)",
207
+ "inherited": "no",
208
+ "percentages": "Refer to corresponding dimension of the border box.",
209
+ "computedValue": "see individual properties",
210
+ "canonicalOrder": "per grammar",
211
+ "animatable": "see individual properties",
212
+ "styleDeclaration": [
213
+ "border-bottom-radius",
214
+ "borderBottomRadius"
215
+ ]
216
+ },
217
+ {
218
+ "name": "border-left-radius",
219
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
220
+ "initial": "0",
221
+ "appliesTo": "all elements (but see prose)",
222
+ "inherited": "no",
223
+ "percentages": "Refer to corresponding dimension of the border box.",
224
+ "computedValue": "see individual properties",
225
+ "canonicalOrder": "per grammar",
226
+ "animatable": "see individual properties",
227
+ "styleDeclaration": [
228
+ "border-left-radius",
229
+ "borderLeftRadius"
230
+ ]
231
+ },
232
+ {
233
+ "name": "border-block-start-radius",
234
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
235
+ "initial": "0",
236
+ "appliesTo": "all elements (but see prose)",
237
+ "inherited": "no",
238
+ "percentages": "Refer to corresponding dimension of the border box.",
239
+ "computedValue": "see individual properties",
240
+ "canonicalOrder": "per grammar",
241
+ "animatable": "see individual properties",
242
+ "styleDeclaration": [
243
+ "border-block-start-radius",
244
+ "borderBlockStartRadius"
245
+ ]
246
+ },
247
+ {
248
+ "name": "border-block-end-radius",
249
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
250
+ "initial": "0",
251
+ "appliesTo": "all elements (but see prose)",
252
+ "inherited": "no",
253
+ "percentages": "Refer to corresponding dimension of the border box.",
254
+ "computedValue": "see individual properties",
255
+ "canonicalOrder": "per grammar",
256
+ "animatable": "see individual properties",
257
+ "styleDeclaration": [
258
+ "border-block-end-radius",
259
+ "borderBlockEndRadius"
260
+ ]
261
+ },
262
+ {
263
+ "name": "border-inline-start-radius",
264
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
265
+ "initial": "0",
266
+ "appliesTo": "all elements (but see prose)",
267
+ "inherited": "no",
268
+ "percentages": "Refer to corresponding dimension of the border box.",
269
+ "computedValue": "see individual properties",
270
+ "canonicalOrder": "per grammar",
271
+ "animatable": "see individual properties",
272
+ "styleDeclaration": [
273
+ "border-inline-start-radius",
274
+ "borderInlineStartRadius"
275
+ ]
276
+ },
277
+ {
278
+ "name": "border-inline-end-radius",
279
+ "value": "<length-percentage [0,∞]>{1,2} [ / <length-percentage [0,∞]>{1,2} ]?",
280
+ "initial": "0",
281
+ "appliesTo": "all elements (but see prose)",
282
+ "inherited": "no",
283
+ "percentages": "Refer to corresponding dimension of the border box.",
284
+ "computedValue": "see individual properties",
285
+ "canonicalOrder": "per grammar",
286
+ "animatable": "see individual properties",
287
+ "styleDeclaration": [
288
+ "border-inline-end-radius",
289
+ "borderInlineEndRadius"
290
+ ]
291
+ },
172
292
  {
173
293
  "name": "border-radius",
174
294
  "value": "<length-percentage [0,∞]>{1,4} [ / <length-percentage [0,∞]>{1,4} ]?",
package/css-box.json CHANGED
@@ -97,25 +97,25 @@
97
97
  },
98
98
  {
99
99
  "name": "block-start",
100
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
100
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
101
101
  "type": "value",
102
102
  "value": "block-start"
103
103
  },
104
104
  {
105
105
  "name": "inline-start",
106
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
106
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
107
107
  "type": "value",
108
108
  "value": "inline-start"
109
109
  },
110
110
  {
111
111
  "name": "inline-end",
112
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
112
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
113
113
  "type": "value",
114
114
  "value": "inline-end"
115
115
  },
116
116
  {
117
117
  "name": "block-end",
118
- "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
118
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any descendant margins collapsed with such a margin (but not its own, its siblings’, or its ancestors’).",
119
119
  "type": "value",
120
120
  "value": "block-end"
121
121
  },
@@ -9,25 +9,20 @@
9
9
  "name": "@scope",
10
10
  "prose": "The @scope block at-rule allows authors to scope style rules in CSS, with the application of weak scoping proximity between the scoping root and the subject of each style rule.",
11
11
  "descriptors": [],
12
- "value": "@scope (<scope-start>) [to (<scope-end>)]? { <stylesheet> }"
12
+ "value": "@scope [(<scope-start>)]? [to (<scope-end>)]? { <stylesheet> }"
13
13
  }
14
14
  ],
15
15
  "selectors": [],
16
16
  "values": [
17
17
  {
18
18
  "name": "<scope-start>",
19
- "prose": "The <scope-start> is a <forgiving-selector-list>. Each element matched by <scope-start> is a scoping element, creating a scope with itself as the scoping root.",
20
- "type": "type"
19
+ "type": "type",
20
+ "value": "<forgiving-selector-list>"
21
21
  },
22
22
  {
23
23
  "name": "<scope-end>",
24
- "prose": "The <scope-end> is a <forgiving-selector-list> that is scoped by the <scope-start> selector, with the scoping roots as :scope elements. Each element matched by <scope-end> is a scoping limit. The scoping limit elements define the lower bounds of a scope, so that scoped selectors are not able to match any scoping limit elements, or any elements nested within them.",
25
- "type": "type"
26
- },
27
- {
28
- "name": "<selector-scope>",
29
24
  "type": "type",
30
- "value": "( <scope-start> [/ <scope-end>]? )"
25
+ "value": "<forgiving-selector-list>"
31
26
  }
32
27
  ]
33
28
  }
package/css-color-5.json CHANGED
@@ -71,19 +71,19 @@
71
71
  "values": [
72
72
  {
73
73
  "name": "r",
74
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
74
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
75
75
  "type": "value",
76
76
  "value": "r"
77
77
  },
78
78
  {
79
79
  "name": "g",
80
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
80
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
81
81
  "type": "value",
82
82
  "value": "g"
83
83
  },
84
84
  {
85
85
  "name": "b",
86
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to sRGB. 255.0 is equivalent to 100%.",
86
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to sRGB. 255.0 is equivalent to 100%.",
87
87
  "type": "value",
88
88
  "value": "b"
89
89
  },
@@ -107,19 +107,19 @@
107
107
  "values": [
108
108
  {
109
109
  "name": "h",
110
- "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after its conversion to sRGB, normalized to a [0, 360] range",
110
+ "prose": "h is an <angle> that corresponds to the origin color’s HSL hue after conversion, if required to sRGB, normalized to a [0, 360] range",
111
111
  "type": "value",
112
112
  "value": "h"
113
113
  },
114
114
  {
115
115
  "name": "s",
116
- "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after its conversion to sRGB",
116
+ "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
117
117
  "type": "value",
118
118
  "value": "s"
119
119
  },
120
120
  {
121
121
  "name": "l",
122
- "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after its conversion to sRGB",
122
+ "prose": "s and l are <percentage>s that correspond to the origin color’s HSL saturation and lightness, after conversion, if required to sRGB",
123
123
  "type": "value",
124
124
  "value": "l"
125
125
  },
@@ -138,19 +138,19 @@
138
138
  "values": [
139
139
  {
140
140
  "name": "h",
141
- "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after its conversion to sRGB, normalized to a [0, 360] range",
141
+ "prose": "h is an <angle> that corresponds to the origin color’s HWB hue after conversion, if required to sRGB, normalized to a [0, 360] range",
142
142
  "type": "value",
143
143
  "value": "h"
144
144
  },
145
145
  {
146
146
  "name": "w",
147
- "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
147
+ "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after conversion, if required to sRGB",
148
148
  "type": "value",
149
149
  "value": "w"
150
150
  },
151
151
  {
152
152
  "name": "b",
153
- "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after its conversion to sRGB",
153
+ "prose": "w and b are <percentage>s that correspond to the origin color’s HWB whiteness and blackness after conversion, if required to sRGB",
154
154
  "type": "value",
155
155
  "value": "b"
156
156
  },
@@ -169,19 +169,19 @@
169
169
  "values": [
170
170
  {
171
171
  "name": "l",
172
- "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness",
172
+ "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness after conversion, if required, to CIE Lab",
173
173
  "type": "value",
174
174
  "value": "l"
175
175
  },
176
176
  {
177
177
  "name": "a",
178
- "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes",
178
+ "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes after conversion, if required, to CIE Lab",
179
179
  "type": "value",
180
180
  "value": "a"
181
181
  },
182
182
  {
183
183
  "name": "b",
184
- "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes",
184
+ "prose": "a and b are <number>s that correspond to the origin color’s CIELab a and b axes after conversion, if required, to CIE Lab",
185
185
  "type": "value",
186
186
  "value": "b"
187
187
  },
@@ -200,19 +200,19 @@
200
200
  "values": [
201
201
  {
202
202
  "name": "l",
203
- "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness",
203
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness after conversion, if required, to Oklab",
204
204
  "type": "value",
205
205
  "value": "l"
206
206
  },
207
207
  {
208
208
  "name": "a",
209
- "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes",
209
+ "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes after conversion, if required, to Oklab",
210
210
  "type": "value",
211
211
  "value": "a"
212
212
  },
213
213
  {
214
214
  "name": "b",
215
- "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes",
215
+ "prose": "a and b are <number>s that correspond to the origin color’s Oklab a and b axes after conversion, if required, to Oklab",
216
216
  "type": "value",
217
217
  "value": "b"
218
218
  },
@@ -231,19 +231,19 @@
231
231
  "values": [
232
232
  {
233
233
  "name": "l",
234
- "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness",
234
+ "prose": "l is a <number> that corresponds to the origin color’s CIE Lightness after conversion, if required, to CIE LCH",
235
235
  "type": "value",
236
236
  "value": "l"
237
237
  },
238
238
  {
239
239
  "name": "c",
240
- "prose": "c is a <number> that corresponds to the origin color’s LCH chroma",
240
+ "prose": "c is a <number> that corresponds to the origin color’s LCH chroma after conversion, if required, to CIE LCH",
241
241
  "type": "value",
242
242
  "value": "c"
243
243
  },
244
244
  {
245
245
  "name": "h",
246
- "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, normalized to a [0, 360] range.",
246
+ "prose": "h is an <angle> that corresponds to the origin color’s LCH hue, after conversion, if required, to CIE LCH, normalized to a [0, 360] range.",
247
247
  "type": "value",
248
248
  "value": "h"
249
249
  },
@@ -262,19 +262,19 @@
262
262
  "values": [
263
263
  {
264
264
  "name": "l",
265
- "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness",
265
+ "prose": "l is a <number> that corresponds to the origin color’s Oklab Lightness after conversion, if required, to Oklch",
266
266
  "type": "value",
267
267
  "value": "l"
268
268
  },
269
269
  {
270
270
  "name": "c",
271
- "prose": "c is a <number> that corresponds to the origin color’s Oklch chroma",
271
+ "prose": "c is a <number> that corresponds to the origin color’s Oklch chroma after conversion, if required, to Oklch",
272
272
  "type": "value",
273
273
  "value": "c"
274
274
  },
275
275
  {
276
276
  "name": "h",
277
- "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, normalized to a [0, 360] range.",
277
+ "prose": "h is an <angle> that corresponds to the origin color’s Oklch hue, after conversion, if required, to Oklch, normalized to a [0, 360] range.",
278
278
  "type": "value",
279
279
  "value": "h"
280
280
  },
@@ -293,37 +293,37 @@
293
293
  "values": [
294
294
  {
295
295
  "name": "r",
296
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
296
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to the predefined RGB color space.",
297
297
  "type": "value",
298
298
  "value": "r"
299
299
  },
300
300
  {
301
301
  "name": "g",
302
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
302
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to the predefined RGB color space.",
303
303
  "type": "value",
304
304
  "value": "g"
305
305
  },
306
306
  {
307
307
  "name": "b",
308
- "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after its conversion to the predefined RGB color space.",
308
+ "prose": "r, g, and b are all <number>s that correspond to the origin color’s red, green, and blue channels after conversion, if required to the predefined RGB color space.",
309
309
  "type": "value",
310
310
  "value": "b"
311
311
  },
312
312
  {
313
313
  "name": "x",
314
- "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
314
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after conversion, if required to relative CIE XYZ color space adapted to the relevant white point.",
315
315
  "type": "value",
316
316
  "value": "x"
317
317
  },
318
318
  {
319
319
  "name": "y",
320
- "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
320
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after conversion, if required to relative CIE XYZ color space adapted to the relevant white point.",
321
321
  "type": "value",
322
322
  "value": "y"
323
323
  },
324
324
  {
325
325
  "name": "z",
326
- "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after its conversion to relative CIE XYZ color space adapted to the relevant white point.",
326
+ "prose": "x, y, z are all <number>s that correspond to the origin color’s X, Y and Z channels after conversion, if required to relative CIE XYZ color space adapted to the relevant white point.",
327
327
  "type": "value",
328
328
  "value": "z"
329
329
  }
package/css-color.json CHANGED
@@ -1053,31 +1053,31 @@
1053
1053
  "values": [
1054
1054
  {
1055
1055
  "name": "srgb",
1056
- "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m2 Black luminance 0.20 cd/m2 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.",
1056
+ "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1057
1057
  "type": "value",
1058
1058
  "value": "srgb"
1059
1059
  },
1060
1060
  {
1061
1061
  "name": "srgb-linear",
1062
- "prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. 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 unity, see below White luminance 80.0 cd/m2 Black luminance 0.20 cd/m2 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
1062
+ "prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. 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 unity, 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 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
1063
1063
  "type": "value",
1064
1064
  "value": "srgb-linear"
1065
1065
  },
1066
1066
  {
1067
1067
  "name": "display-p3",
1068
- "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. 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/m2 Black luminance 0.80 cd/m2 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.",
1068
+ "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. 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.",
1069
1069
  "type": "value",
1070
1070
  "value": "display-p3"
1071
1071
  },
1072
1072
  {
1073
1073
  "name": "a98-rgb",
1074
- "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The 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/m2 Black luminance 0.5557 cd/m2 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.",
1074
+ "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The 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.",
1075
1075
  "type": "value",
1076
1076
  "value": "a98-rgb"
1077
1077
  },
1078
1078
  {
1079
1079
  "name": "prophoto-rgb",
1080
- "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The 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/m2 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.",
1080
+ "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The 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.",
1081
1081
  "type": "value",
1082
1082
  "value": "prophoto-rgb"
1083
1083
  },
package/css-multicol.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "percentages": "N/A",
43
43
  "computedValue": "specified value",
44
44
  "canonicalOrder": "per grammar",
45
- "animatable": "by computed value",
45
+ "animationType": "by computed value",
46
46
  "values": [
47
47
  {
48
48
  "name": "auto",
package/css-speech.json CHANGED
@@ -525,7 +525,7 @@
525
525
  "values": [
526
526
  {
527
527
  "name": "<family-name>",
528
- "prose": "Values are specific voice instances (e.g., Mike, comedian, mary, carlos2, \"valley girl\"). Like font-family names, voice names must either be given quoted as strings, or unquoted as a sequence of one or more identifiers. If a sequence of identifiers is given as a voice name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. Voice names that happen to be the same as the gender keywords (male, female and neutral) or that happen to match the CSS-wide keywords or preserve must be quoted to disambiguate with these keywords. The keyword default is reserved for future use and must also be quoted when used as voice names. It is recommended to quote voice names that contain white space, digits, or punctuation characters other than hyphens—even if these voice names are valid in unquoted form—in order to improve code clarity. For example: voice-family: \"john doe\", \"Henry the-8th\";",
528
+ "prose": "Values are specific voice instances (e.g., Mike, comedian, mary, carlos2, \"valley girl\"). Like font-family names, voice names must either be given quoted as strings, or unquoted as a sequence of one or more CSS identifiers. If a sequence of identifiers is given as a voice name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. Voice names that happen to be the same as the gender keywords (male, female and neutral) or that happen to match the CSS-wide keywords or preserve must be quoted to disambiguate with these keywords. The keyword default is reserved for future use and must also be quoted when used as voice names. It is recommended to quote voice names that contain white space, digits, or punctuation characters other than hyphens—even if these voice names are valid in unquoted form—in order to improve code clarity. For example: voice-family: \"john doe\", \"Henry the-8th\";",
529
529
  "type": "value",
530
530
  "value": "<family-name>"
531
531
  },
package/css-text.json CHANGED
@@ -94,7 +94,7 @@
94
94
  },
95
95
  {
96
96
  "name": "break-spaces",
97
- "prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. Tests white-space-intrinsic-size-001.html (live test) (source) white-space-intrinsic-size-002.html (live test) (source) A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces). Tests overflow-wrap-break-word-002.html (live test) (source) overflow-wrap-anywhere-002.html (live test) (source) break-spaces-001.html (live test) (source) break-spaces-002.html (live test) (source) break-spaces-003.html (live test) (source) break-spaces-004.html (live test) (source) break-spaces-005.html (live test) (source) break-spaces-006.html (live test) (source) break-spaces-007.html (live test) (source) break-spaces-008.html (live test) (source) break-spaces-009.html (live test) (source) break-spaces-010.html (live test) (source) break-spaces-051.html (live test) (source) break-spaces-052.html (live test) (source) white-space-pre-034.html (live test) (source) textarea-break-spaces-001.html (live test) (source) textarea-break-spaces-002.html (live test) (source) break-spaces-before-first-char-001.html (live test) (source) break-spaces-before-first-char-002.html (live test) (source) break-spaces-before-first-char-003.html (live test) (source) break-spaces-before-first-char-004.html (live test) (source) break-spaces-before-first-char-005.html (live test) (source) break-spaces-before-first-char-006.html (live test) (source) break-spaces-before-first-char-007.html (live test) (source) break-spaces-before-first-char-008.html (live test) (source) break-spaces-before-first-char-009.html (live test) (source) break-spaces-before-first-char-010.html (live test) (source) break-spaces-before-first-char-011.html (live test) (source) break-spaces-before-first-char-012.html (live test) (source) break-spaces-before-first-char-013.html (live test) (source) break-spaces-before-first-char-014.html (live test) (source) break-spaces-before-first-char-015.html (live test) (source) break-spaces-before-first-char-016.html (live test) (source) break-spaces-before-first-char-017.html (live test) (source) break-spaces-before-first-char-018.html (live test) (source) break-spaces-before-first-ideographic-char-001.html (live test) (source) break-spaces-before-first-ideographic-char-002.html (live test) (source) break-spaces-before-first-ideographic-char-003.html (live test) (source) break-spaces-before-first-ideographic-char-004.html (live test) (source) break-spaces-before-first-ideographic-char-005.html (live test) (source) break-spaces-before-first-ideographic-char-006.html (live test) (source) break-spaces-before-first-ideographic-char-007.html (live test) (source) break-spaces-before-first-ideographic-char-008.html (live test) (source) break-spaces-before-first-ideographic-char-009.html (live test) (source) break-spaces-before-first-ideographic-char-010.html (live test) (source) break-spaces-before-first-ideographic-char-011.html (live test) (source) break-spaces-before-first-ideographic-char-012.html (live test) (source) break-spaces-before-first-ideographic-char-013.html (live test) (source) break-spaces-before-first-ideographic-char-014.html (live test) (source) break-spaces-before-first-ideographic-char-015.html (live test) (source) break-spaces-before-first-ideographic-char-016.html (live test) (source) break-spaces-before-first-ideographic-char-017.html (live test) (source) break-spaces-before-first-ideographic-char-018.html (live test) (source) tab-stop-threshold-005.html (live test) (source) tab-stop-threshold-006.html (live test) (source) word-break-break-all-017.html (live test) (source) break-spaces-tab-001.html (live test) (source) break-spaces-tab-002.html (live test) (source) break-spaces-tab-003.html (live test) (source) break-spaces-tab-004.html (live test) (source) break-spaces-tab-005.html (live test) (source) break-spaces-tab-006.html (live test) (source) break-spaces-with-overflow-wrap-001.html (live test) (source) break-spaces-with-overflow-wrap-002.html (live test) (source) break-spaces-with-overflow-wrap-003.html (live test) (source) break-spaces-with-overflow-wrap-004.html (live test) (source) break-spaces-with-overflow-wrap-005.html (live test) (source) break-spaces-with-overflow-wrap-006.html (live test) (source) break-spaces-with-overflow-wrap-007.html (live test) (source) break-spaces-with-overflow-wrap-008.html (live test) (source) break-spaces-with-overflow-wrap-009.html (live test) (source) break-spaces-with-overflow-wrap-010.html (live test) (source) break-spaces-with-ideographic-space-001.html (live test) (source) break-spaces-with-ideographic-space-002.html (live test) (source) break-spaces-with-ideographic-space-003.html (live test) (source) break-spaces-with-ideographic-space-004.html (live test) (source) break-spaces-with-ideographic-space-005.html (live test) (source) break-spaces-with-ideographic-space-006.html (live test) (source) break-spaces-with-ideographic-space-007.html (live test) (source) break-spaces-with-ideographic-space-008.html (live test) (source) break-spaces-with-ideographic-space-009.html (live test) (source) break-spaces-with-ideographic-space-010.html (live test) (source) line-break-anywhere-and-white-space-008.html (live test) (source) line-break-anywhere-and-white-space-009.html (live test) (source) ws-break-spaces-applies-to-001.html (live test) (source) ws-break-spaces-applies-to-002.html (live test) (source) ws-break-spaces-applies-to-003.html (live test) (source) ws-break-spaces-applies-to-005.html (live test) (source) ws-break-spaces-applies-to-006.html (live test) (source) ws-break-spaces-applies-to-007.html (live test) (source) ws-break-spaces-applies-to-008.html (live test) (source) ws-break-spaces-applies-to-009.html (live test) (source) ws-break-spaces-applies-to-010.html (live test) (source) ws-break-spaces-applies-to-011.html (live test) (source) ws-break-spaces-applies-to-012.html (live test) (source) ws-break-spaces-applies-to-013.html (live test) (source) ws-break-spaces-applies-to-014.html (live test) (source) ws-break-spaces-applies-to-015.html (live test) (source) break-spaces-newline-011.html (live test) (source) break-spaces-newline-012.html (live test) (source) break-spaces-newline-013.html (live test) (source) break-spaces-newline-014.html (live test) (source) break-spaces-newline-015.html (live test) (source) break-spaces-newline-016.html (live test) (source) trailing-ideographic-space-break-spaces-001.html (live test) (source) trailing-ideographic-space-break-spaces-002.html (live test) (source) trailing-ideographic-space-break-spaces-003.html (live test) (source) trailing-ideographic-space-break-spaces-004.html (live test) (source) trailing-ideographic-space-break-spaces-005.html (live test) (source) trailing-ideographic-space-break-spaces-006.html (live test) (source) trailing-ideographic-space-break-spaces-007.html (live test) (source) trailing-ideographic-space-break-spaces-008.html (live test) (source)",
97
+ "prose": "The behavior is identical to that of pre-wrap, except that: Any sequence of preserved white space or other space separators always takes up space, including at the end of the line. A line breaking opportunity exists after every preserved white space character and after every other space separator (including between adjacent spaces).",
98
98
  "type": "value",
99
99
  "value": "break-spaces"
100
100
  },
@@ -86,9 +86,8 @@
86
86
  "inherited": "no",
87
87
  "percentages": "N/A",
88
88
  "computedValue": "see individual properties",
89
- "canonicalOrder": "per grammar",
90
- "animatable": "no",
91
89
  "animationType": "not animatable",
90
+ "canonicalOrder": "per grammar",
92
91
  "styleDeclaration": [
93
92
  "transition"
94
93
  ]
package/mathml-core.json CHANGED
@@ -13,7 +13,7 @@
13
13
  },
14
14
  {
15
15
  "name": "text-transform",
16
- "newValues": "math-auto | math-bold | math-italic | math-bold-italic | math-double-struck | math-bold-fraktur | math-script | math-bold-script | math-fraktur | math-sans-serif | math-bold-sans-serif | math-sans-serif-italic | math-sans-serif-bold-italic | math-monospace | math-initial | math-tailed | math-looped | math-stretched",
16
+ "newValues": "math-auto",
17
17
  "styleDeclaration": [
18
18
  "text-transform",
19
19
  "textTransform"
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.3.4",
4
+ "version": "6.4.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webvtt.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "spec": {
3
+ "title": "WebVTT: The Web Video Text Tracks Format",
4
+ "url": "https://w3c.github.io/webvtt/"
5
+ },
6
+ "properties": [],
7
+ "atrules": [],
8
+ "selectors": [
9
+ {
10
+ "name": "::cue",
11
+ "prose": "The ::cue pseudo-element (with no argument) matches any list of WebVTT Node Objects constructed for the matched element, with the exception that the properties corresponding to the background shorthand must be applied to the WebVTT cue background box rather than the list of WebVTT Node Objects."
12
+ },
13
+ {
14
+ "name": "::cue()",
15
+ "value": "::cue(selector)"
16
+ },
17
+ {
18
+ "name": "::cue-region",
19
+ "prose": "The ::cue-region pseudo-element (with no argument) matches any list of WebVTT region objects constructed for the matched element."
20
+ },
21
+ {
22
+ "name": "::cue-region()",
23
+ "value": "::cue-region(selector)"
24
+ }
25
+ ],
26
+ "values": []
27
+ }