@webref/css 6.11.1 → 6.12.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.
- package/css-anchor-position.json +61 -6
- package/css-color-5.json +6 -12
- package/css-color-hdr.json +117 -0
- package/css-color.json +2 -96
- package/css-display.json +53 -57
- package/css-fonts-5.json +1 -1
- package/css-fonts.json +9 -3
- package/css-images-4.json +1 -1
- package/css-shapes.json +1 -1
- package/css-text-4.json +1 -1
- package/css-ui.json +33 -1
- package/css-values-5.json +34 -0
- package/mediaqueries-5.json +1 -1
- package/package.json +1 -1
package/css-anchor-position.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"name": "<inset-area>",
|
|
76
|
-
"prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, the property selects a region of the inset-area grid, and makes that the element’s containing block. Additionally, the normal value for the self-alignment properties behaves as either start, end, or anchor-center, depending on the positioning of the region, to give a good default alignment for the positioned element. See § 3.1.1 Resolving <inset-area
|
|
76
|
+
"prose": "If the element does not have a default anchor element, or is not an absolutely-positioned element, this value has no effect. Otherwise, the property selects a region of the inset-area grid, and makes that the element’s containing block. Additionally, the normal value for the self-alignment properties behaves as either start, end, or anchor-center, depending on the positioning of the region, to give a good default alignment for the positioned element. See § 3.1.1 Resolving <inset-area>s for details on both of these effects. If the two <inset-area-span>s do not define a valid region, this property is invalid. Also, any auto inset properties resolve to 0.",
|
|
77
77
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-inset-area-inset-area",
|
|
78
78
|
"type": "value",
|
|
79
79
|
"value": "<inset-area>"
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
{
|
|
156
156
|
"name": "position-try-options",
|
|
157
157
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try-options",
|
|
158
|
-
"value": "none | [ <dashed-ident>
|
|
158
|
+
"value": "none | [ <dashed-ident> || <try-tactic> ]#",
|
|
159
159
|
"initial": "none",
|
|
160
160
|
"appliesTo": "absolutely-positioned elements",
|
|
161
161
|
"inherited": "no",
|
|
@@ -210,6 +210,13 @@
|
|
|
210
210
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-flip-start",
|
|
211
211
|
"type": "value",
|
|
212
212
|
"value": "flip-start"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "<dashed-ident> || <try-tactic>",
|
|
216
|
+
"prose": "Combines the effects of the previous two options: if there is a @position-try rule with the given name, then applies its position option to the element’s base style, transforms it according to the specified <try-tactic>, and then adds the result to the element’s position options list. Otherwise, does nothing.",
|
|
217
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-options-dashed-ident--try-tactic",
|
|
218
|
+
"type": "value",
|
|
219
|
+
"value": "<dashed-ident> || <try-tactic>"
|
|
213
220
|
}
|
|
214
221
|
],
|
|
215
222
|
"styleDeclaration": [
|
|
@@ -238,28 +245,28 @@
|
|
|
238
245
|
},
|
|
239
246
|
{
|
|
240
247
|
"name": "most-width",
|
|
241
|
-
"prose": "For each entry in the position options list,
|
|
248
|
+
"prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
|
|
242
249
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-width",
|
|
243
250
|
"type": "value",
|
|
244
251
|
"value": "most-width"
|
|
245
252
|
},
|
|
246
253
|
{
|
|
247
254
|
"name": "most-height",
|
|
248
|
-
"prose": "For each entry in the position options list,
|
|
255
|
+
"prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
|
|
249
256
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-height",
|
|
250
257
|
"type": "value",
|
|
251
258
|
"value": "most-height"
|
|
252
259
|
},
|
|
253
260
|
{
|
|
254
261
|
"name": "most-block-size",
|
|
255
|
-
"prose": "For each entry in the position options list,
|
|
262
|
+
"prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
|
|
256
263
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-block-size",
|
|
257
264
|
"type": "value",
|
|
258
265
|
"value": "most-block-size"
|
|
259
266
|
},
|
|
260
267
|
{
|
|
261
268
|
"name": "most-inline-size",
|
|
262
|
-
"prose": "For each entry in the position options list,
|
|
269
|
+
"prose": "For each entry in the position options list, apply a position option using that option to the element, and find the specified inset-modified containing block size that results from those styles. Stably sort the position options list according to this size, with the largest coming first.",
|
|
263
270
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-try-order-most-inline-size",
|
|
264
271
|
"type": "value",
|
|
265
272
|
"value": "most-inline-size"
|
|
@@ -270,6 +277,22 @@
|
|
|
270
277
|
"positionTryOrder"
|
|
271
278
|
]
|
|
272
279
|
},
|
|
280
|
+
{
|
|
281
|
+
"name": "position-try",
|
|
282
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-try",
|
|
283
|
+
"value": "<'position-try-order'>? <'position-try-options'>",
|
|
284
|
+
"initial": "see individual properties",
|
|
285
|
+
"appliesTo": "see individual properties",
|
|
286
|
+
"inherited": "see individual properties",
|
|
287
|
+
"percentages": "see individual properties",
|
|
288
|
+
"computedValue": "see individual properties",
|
|
289
|
+
"animationType": "see individual properties",
|
|
290
|
+
"canonicalOrder": "per grammar",
|
|
291
|
+
"styleDeclaration": [
|
|
292
|
+
"position-try",
|
|
293
|
+
"positionTry"
|
|
294
|
+
]
|
|
295
|
+
},
|
|
273
296
|
{
|
|
274
297
|
"name": "position-fallback-bounds",
|
|
275
298
|
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-fallback-bounds",
|
|
@@ -294,6 +317,38 @@
|
|
|
294
317
|
"position-fallback-bounds",
|
|
295
318
|
"positionFallbackBounds"
|
|
296
319
|
]
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "position-animation",
|
|
323
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#propdef-position-animation",
|
|
324
|
+
"value": "normal | magic",
|
|
325
|
+
"initial": "normal",
|
|
326
|
+
"appliesTo": "absolutely positioned elements",
|
|
327
|
+
"inherited": "no",
|
|
328
|
+
"percentages": "n/a",
|
|
329
|
+
"computedValue": "normal, or an overriding position rectangle (see prose)",
|
|
330
|
+
"canonicalOrder": "per grammar",
|
|
331
|
+
"animationType": "(see prose)",
|
|
332
|
+
"values": [
|
|
333
|
+
{
|
|
334
|
+
"name": "normal",
|
|
335
|
+
"prose": "This value has no effect.",
|
|
336
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-animation-normal",
|
|
337
|
+
"type": "value",
|
|
338
|
+
"value": "normal"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "magic",
|
|
342
|
+
"prose": "At computed value time, resolves to a overriding position rectangle, using interleaving. At used value time, overrides the position and size of the element’s margin box, setting it to match the computed overriding position rectangle.",
|
|
343
|
+
"href": "https://drafts.csswg.org/css-anchor-position-1/#valdef-position-animation-magic",
|
|
344
|
+
"type": "value",
|
|
345
|
+
"value": "magic"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"styleDeclaration": [
|
|
349
|
+
"position-animation",
|
|
350
|
+
"positionAnimation"
|
|
351
|
+
]
|
|
297
352
|
}
|
|
298
353
|
],
|
|
299
354
|
"atrules": [
|
package/css-color-5.json
CHANGED
|
@@ -359,12 +359,6 @@
|
|
|
359
359
|
"type": "type",
|
|
360
360
|
"value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
|
|
361
361
|
},
|
|
362
|
-
{
|
|
363
|
-
"name": "<custom-params>",
|
|
364
|
-
"href": "https://drafts.csswg.org/css-color-5/#typedef-custom-params",
|
|
365
|
-
"type": "type",
|
|
366
|
-
"value": "<dashed-ident> [ <number> | <percentage> | none ]+"
|
|
367
|
-
},
|
|
368
362
|
{
|
|
369
363
|
"name": "<predefined-rgb-params>",
|
|
370
364
|
"href": "https://drafts.csswg.org/css-color-5/#typedef-predefined-rgb-params",
|
|
@@ -383,12 +377,6 @@
|
|
|
383
377
|
"type": "type",
|
|
384
378
|
"value": "<xyz> [ <number> | <percentage> | none ]{3}"
|
|
385
379
|
},
|
|
386
|
-
{
|
|
387
|
-
"name": "<xyz>",
|
|
388
|
-
"href": "https://drafts.csswg.org/css-color-5/#typedef-xyz",
|
|
389
|
-
"type": "type",
|
|
390
|
-
"value": "xyz | xyz-d50 | xyz-d65"
|
|
391
|
-
},
|
|
392
380
|
{
|
|
393
381
|
"name": "device-cmyk()",
|
|
394
382
|
"href": "https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk",
|
|
@@ -419,6 +407,12 @@
|
|
|
419
407
|
"type": "function",
|
|
420
408
|
"value": "light-dark( <color>, <color> )"
|
|
421
409
|
},
|
|
410
|
+
{
|
|
411
|
+
"name": "contrast-color()",
|
|
412
|
+
"href": "https://drafts.csswg.org/css-color-5/#funcdef-contrast-color",
|
|
413
|
+
"type": "function",
|
|
414
|
+
"value": "contrast-color( <color> max? )"
|
|
415
|
+
},
|
|
422
416
|
{
|
|
423
417
|
"name": "<color-space>",
|
|
424
418
|
"href": "https://drafts.csswg.org/css-color-5/#typedef-color-space",
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "CSS Color HDR Module Level 1",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-color-hdr/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "dynamic-range-limit",
|
|
9
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#propdef-dynamic-range-limit",
|
|
10
|
+
"value": "standard | high | constrained-high",
|
|
11
|
+
"initial": "high",
|
|
12
|
+
"appliesTo": "all elements",
|
|
13
|
+
"inherited": "no",
|
|
14
|
+
"percentages": "n/a",
|
|
15
|
+
"computedValue": "specified value",
|
|
16
|
+
"canonicalOrder": "per grammar",
|
|
17
|
+
"animationType": "by dynamic-range-limit-mix()",
|
|
18
|
+
"values": [
|
|
19
|
+
{
|
|
20
|
+
"name": "standard",
|
|
21
|
+
"prose": "The highest luminance color that is displayed is the same as ' media white, i.e. the CSS color white.",
|
|
22
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-standard",
|
|
23
|
+
"type": "value",
|
|
24
|
+
"value": "standard"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "high",
|
|
28
|
+
"prose": "The highest peak luminance that is displayed is much greater than media white, i.e. the CSS color white; the precise level is not specified.",
|
|
29
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-high",
|
|
30
|
+
"type": "value",
|
|
31
|
+
"value": "high"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "constrained-high",
|
|
35
|
+
"prose": "The highest peak luminance that is displayed is somewhat greater than media white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.",
|
|
36
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-constrained-high",
|
|
37
|
+
"type": "value",
|
|
38
|
+
"value": "constrained-high"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"styleDeclaration": [
|
|
42
|
+
"dynamic-range-limit",
|
|
43
|
+
"dynamicRangeLimit"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"atrules": [],
|
|
48
|
+
"selectors": [],
|
|
49
|
+
"values": [
|
|
50
|
+
{
|
|
51
|
+
"name": "dynamic-range-limit-mix()",
|
|
52
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#funcdef-dynamic-range-limit-mix",
|
|
53
|
+
"type": "function",
|
|
54
|
+
"value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]>? ]#{2})"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "color()",
|
|
58
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#funcdef-color",
|
|
59
|
+
"type": "function",
|
|
60
|
+
"value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "<colorspace-params>",
|
|
64
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-colorspace-params",
|
|
65
|
+
"type": "type",
|
|
66
|
+
"value": "[<custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params>]"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "<custom-params>",
|
|
70
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-custom-params",
|
|
71
|
+
"type": "type",
|
|
72
|
+
"value": "<dashed-ident> [ <number> | <percentage> | none ]+"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "<predefined-rgb-params>",
|
|
76
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rgb-params",
|
|
77
|
+
"type": "type",
|
|
78
|
+
"value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "<predefined-polar-params>",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-polar-params",
|
|
83
|
+
"type": "type",
|
|
84
|
+
"value": "jzczhz [ <number> | <percentage> | none ]{2} [ <hue> | none]"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "<predefined-rectangular-params>",
|
|
88
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rectangular-params",
|
|
89
|
+
"type": "type",
|
|
90
|
+
"value": "<predefined-rectangular> [ <number> | <percentage> | none ]{3}"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "<predefined-rgb>",
|
|
94
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rgb",
|
|
95
|
+
"type": "type",
|
|
96
|
+
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "<predefined-rectangular>",
|
|
100
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rectangular",
|
|
101
|
+
"type": "type",
|
|
102
|
+
"value": "jzazbz | ictcp"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "<xyz-params>",
|
|
106
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-xyz-params",
|
|
107
|
+
"type": "type",
|
|
108
|
+
"value": "<xyz> [ <number> | <percentage> | none ]{3}"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "<xyz>",
|
|
112
|
+
"href": "https://drafts.csswg.org/css-color-hdr/#typedef-xyz",
|
|
113
|
+
"type": "type",
|
|
114
|
+
"value": "xyz | xyz-d50 | xyz-d65"
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
package/css-color.json
CHANGED
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"name": "<opacity-value>",
|
|
36
36
|
"prose": "The opacity to be applied to the element. The resulting opacity is applied to the entire element, rather than a particular color. Opacity values outside the range [0,1] are not invalid, and are preserved in specified values, but are clamped to the range [0, 1] in computed values.",
|
|
37
37
|
"href": "https://drafts.csswg.org/css-color-4/#typedef-opacity-opacity-value",
|
|
38
|
-
"type": "type"
|
|
38
|
+
"type": "type",
|
|
39
|
+
"value": "<number> | <percentage>"
|
|
39
40
|
}
|
|
40
41
|
],
|
|
41
42
|
"styleDeclaration": [
|
|
@@ -1460,101 +1461,6 @@
|
|
|
1460
1461
|
}
|
|
1461
1462
|
]
|
|
1462
1463
|
},
|
|
1463
|
-
{
|
|
1464
|
-
"name": "color()",
|
|
1465
|
-
"href": "https://drafts.csswg.org/css-color-4/#funcdef-color",
|
|
1466
|
-
"type": "function",
|
|
1467
|
-
"value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
|
|
1468
|
-
"values": [
|
|
1469
|
-
{
|
|
1470
|
-
"name": "srgb",
|
|
1471
|
-
"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.",
|
|
1472
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb",
|
|
1473
|
-
"type": "value",
|
|
1474
|
-
"value": "srgb"
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"name": "srgb-linear",
|
|
1478
|
-
"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)",
|
|
1479
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb-linear",
|
|
1480
|
-
"type": "value",
|
|
1481
|
-
"value": "srgb-linear"
|
|
1482
|
-
},
|
|
1483
|
-
{
|
|
1484
|
-
"name": "display-p3",
|
|
1485
|
-
"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.",
|
|
1486
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-display-p3",
|
|
1487
|
-
"type": "value",
|
|
1488
|
-
"value": "display-p3"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"name": "a98-rgb",
|
|
1492
|
-
"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.",
|
|
1493
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb",
|
|
1494
|
-
"type": "value",
|
|
1495
|
-
"value": "a98-rgb"
|
|
1496
|
-
},
|
|
1497
|
-
{
|
|
1498
|
-
"name": "prophoto-rgb",
|
|
1499
|
-
"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.",
|
|
1500
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb",
|
|
1501
|
-
"type": "value",
|
|
1502
|
-
"value": "prophoto-rgb"
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
"name": "rec2020",
|
|
1506
|
-
"prose": "The rec2020 [Rec.2020] 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], (\"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 see below, from [Rec.2020] table 4 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 α = 1.09929682680944 ; const β = 0.018053968510807; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < β * 4.5 ) { cl = c / 4.5; } else { cl = sign * (Math.pow((abs + α -1 ) / α, 1/0.45)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. 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.",
|
|
1507
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-rec2020",
|
|
1508
|
-
"type": "value",
|
|
1509
|
-
"value": "rec2020"
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"name": "xyz-d50",
|
|
1513
|
-
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
|
|
1514
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d50",
|
|
1515
|
-
"type": "value",
|
|
1516
|
-
"value": "xyz-d50"
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
"name": "xyz-d65",
|
|
1520
|
-
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
|
|
1521
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d65",
|
|
1522
|
-
"type": "value",
|
|
1523
|
-
"value": "xyz-d65"
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"name": "xyz",
|
|
1527
|
-
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
|
|
1528
|
-
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz",
|
|
1529
|
-
"type": "value",
|
|
1530
|
-
"value": "xyz"
|
|
1531
|
-
}
|
|
1532
|
-
]
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
"name": "<colorspace-params>",
|
|
1536
|
-
"href": "https://drafts.csswg.org/css-color-4/#typedef-colorspace-params",
|
|
1537
|
-
"type": "type",
|
|
1538
|
-
"value": "[ <predefined-rgb-params> | <xyz-params>]"
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"name": "<predefined-rgb-params>",
|
|
1542
|
-
"href": "https://drafts.csswg.org/css-color-4/#typedef-predefined-rgb-params",
|
|
1543
|
-
"type": "type",
|
|
1544
|
-
"value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
"name": "<predefined-rgb>",
|
|
1548
|
-
"href": "https://drafts.csswg.org/css-color-4/#typedef-predefined-rgb",
|
|
1549
|
-
"type": "type",
|
|
1550
|
-
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"name": "<xyz-params>",
|
|
1554
|
-
"href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-params",
|
|
1555
|
-
"type": "type",
|
|
1556
|
-
"value": "<xyz-space> [ <number> | <percentage> | none ]{3}"
|
|
1557
|
-
},
|
|
1558
1464
|
{
|
|
1559
1465
|
"name": "<xyz-space>",
|
|
1560
1466
|
"href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-space",
|
package/css-display.json
CHANGED
|
@@ -31,47 +31,9 @@
|
|
|
31
31
|
{
|
|
32
32
|
"name": "order",
|
|
33
33
|
"href": "https://drafts.csswg.org/css-display-4/#propdef-order",
|
|
34
|
-
"value": "[ <'layout-order'> <'reading-order'>? ] | [ [ reading || layout ] && <integer> ]",
|
|
35
|
-
"initial": "see individual properties",
|
|
36
|
-
"appliesTo": "flex items and grid items",
|
|
37
|
-
"inherited": "no",
|
|
38
|
-
"percentages": "see individual properties",
|
|
39
|
-
"computedValue": "see individual properties",
|
|
40
|
-
"animationType": "see individual properties",
|
|
41
|
-
"canonicalOrder": "per grammar",
|
|
42
|
-
"values": [
|
|
43
|
-
{
|
|
44
|
-
"name": "<integer>",
|
|
45
|
-
"prose": "If one integer and no keyword is specified, then sets layout-order to the specified integer, and sets reading-order to its initial value. If two integers are specified, the first sets layout-order and the second sets reading-order. Otherwise sets the appropriate longhand(s) to the specified integer(s).",
|
|
46
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-order-integer",
|
|
47
|
-
"type": "value",
|
|
48
|
-
"value": "<integer>"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "layout",
|
|
52
|
-
"prose": "Indicates setting layout-order to the specified integer. If reading is not specified, reading-order is set to its initial value.",
|
|
53
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-order-layout",
|
|
54
|
-
"type": "value",
|
|
55
|
-
"value": "layout"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "reading",
|
|
59
|
-
"prose": "Indicates setting reading-order to the specified integer. If layout is not specified, layout-order is set to its initial value.",
|
|
60
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-order-reading",
|
|
61
|
-
"type": "value",
|
|
62
|
-
"value": "reading"
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"styleDeclaration": [
|
|
66
|
-
"order"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "reading-order",
|
|
71
|
-
"href": "https://drafts.csswg.org/css-display-4/#propdef-reading-order",
|
|
72
34
|
"value": "<integer>",
|
|
73
35
|
"initial": "0",
|
|
74
|
-
"appliesTo": "
|
|
36
|
+
"appliesTo": "flex items and grid items",
|
|
75
37
|
"inherited": "no",
|
|
76
38
|
"percentages": "n/a",
|
|
77
39
|
"computedValue": "specified integer",
|
|
@@ -80,40 +42,74 @@
|
|
|
80
42
|
"values": [
|
|
81
43
|
{
|
|
82
44
|
"name": "<integer>",
|
|
83
|
-
"prose": "
|
|
84
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-
|
|
45
|
+
"prose": "Specifically, the order property controls the order in which flex items or grid items appear within their container, by assigning them to ordinal groups. It takes a single <integer> value, which specifies which ordinal group the item belongs to.",
|
|
46
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-order-integer",
|
|
85
47
|
"type": "value",
|
|
86
48
|
"value": "<integer>"
|
|
87
49
|
}
|
|
88
50
|
],
|
|
89
51
|
"styleDeclaration": [
|
|
90
|
-
"
|
|
91
|
-
"readingOrder"
|
|
52
|
+
"order"
|
|
92
53
|
]
|
|
93
54
|
},
|
|
94
55
|
{
|
|
95
|
-
"name": "
|
|
96
|
-
"href": "https://drafts.csswg.org/css-display-4/#propdef-
|
|
97
|
-
"value": "
|
|
98
|
-
"initial": "
|
|
99
|
-
"appliesTo": "flex
|
|
56
|
+
"name": "reading-order-items",
|
|
57
|
+
"href": "https://drafts.csswg.org/css-display-4/#propdef-reading-order-items",
|
|
58
|
+
"value": "normal | flex-visual | flex-flow | grid-rows | grid-columns | grid-order",
|
|
59
|
+
"initial": "normal",
|
|
60
|
+
"appliesTo": "flex and grid containers",
|
|
100
61
|
"inherited": "no",
|
|
101
62
|
"percentages": "n/a",
|
|
102
|
-
"computedValue": "specified
|
|
63
|
+
"computedValue": "as specified",
|
|
103
64
|
"canonicalOrder": "per grammar",
|
|
104
|
-
"animationType": "
|
|
65
|
+
"animationType": "not animatable",
|
|
105
66
|
"values": [
|
|
106
67
|
{
|
|
107
|
-
"name": "
|
|
108
|
-
"prose": "
|
|
109
|
-
"href": "https://drafts.csswg.org/css-display-4/#valdef-
|
|
68
|
+
"name": "normal",
|
|
69
|
+
"prose": "Follow the order of elements in the DOM.",
|
|
70
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-normal",
|
|
110
71
|
"type": "value",
|
|
111
|
-
"value": "
|
|
72
|
+
"value": "normal"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "flex-visual",
|
|
76
|
+
"prose": "Only takes effect on flex containers. Follows the visual reading order of flex items, taking the writing mode into account. Therefore, a document in English, with a flex-direction of row-reverse and reading-order-items of 'flex visual' would have a reading order of left to right.",
|
|
77
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-flex-visual",
|
|
78
|
+
"type": "value",
|
|
79
|
+
"value": "flex-visual"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "flex-flow",
|
|
83
|
+
"prose": "Only takes effect on flex containers. Follows the flex-flow direction.",
|
|
84
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-flex-flow",
|
|
85
|
+
"type": "value",
|
|
86
|
+
"value": "flex-flow"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "grid-rows",
|
|
90
|
+
"prose": "Only takes effect on grid containers. Follows the visual order of grid items by row, taking the writing mode into account.",
|
|
91
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-grid-rows",
|
|
92
|
+
"type": "value",
|
|
93
|
+
"value": "grid-rows"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "grid-columns",
|
|
97
|
+
"prose": "Only takes effect on grid containers. Follows the visual order of grid items by column, taking the writing mode into account.",
|
|
98
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-grid-columns",
|
|
99
|
+
"type": "value",
|
|
100
|
+
"value": "grid-columns"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "grid-order",
|
|
104
|
+
"prose": "Follows the order-modified document order. Therefore, as normal unless the order property has been used to change the order of items.",
|
|
105
|
+
"href": "https://drafts.csswg.org/css-display-4/#valdef-reading-order-items-grid-order",
|
|
106
|
+
"type": "value",
|
|
107
|
+
"value": "grid-order"
|
|
112
108
|
}
|
|
113
109
|
],
|
|
114
110
|
"styleDeclaration": [
|
|
115
|
-
"
|
|
116
|
-
"
|
|
111
|
+
"reading-order-items",
|
|
112
|
+
"readingOrderItems"
|
|
117
113
|
]
|
|
118
114
|
},
|
|
119
115
|
{
|
|
@@ -181,7 +177,7 @@
|
|
|
181
177
|
},
|
|
182
178
|
{
|
|
183
179
|
"name": "run-in",
|
|
184
|
-
"prose": "The element generates an run-in box, which is a type of inline-level box with special behavior that attempts to merge it into a subsequent block container. See §
|
|
180
|
+
"prose": "The element generates an run-in box, which is a type of inline-level box with special behavior that attempts to merge it into a subsequent block container. See § 6 Run-In Layout for details.",
|
|
185
181
|
"href": "https://drafts.csswg.org/css-display-4/#valdef-display-run-in",
|
|
186
182
|
"type": "value",
|
|
187
183
|
"value": "run-in"
|
package/css-fonts-5.json
CHANGED
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"name": "<font-tech>",
|
|
186
186
|
"href": "https://drafts.csswg.org/css-fonts-5/#font-tech-values",
|
|
187
187
|
"type": "type",
|
|
188
|
-
"value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental
|
|
188
|
+
"value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
191
|
"name": "<font-features-tech>",
|
package/css-fonts.json
CHANGED
|
@@ -1121,8 +1121,7 @@
|
|
|
1121
1121
|
"name": "<palette-mix()>",
|
|
1122
1122
|
"prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function. Percentages are normalized according to CSS Color 5 § 2.1 Percentage Normalization.",
|
|
1123
1123
|
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-palette-palette-mix",
|
|
1124
|
-
"type": "type"
|
|
1125
|
-
"value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
|
|
1124
|
+
"type": "type"
|
|
1126
1125
|
}
|
|
1127
1126
|
],
|
|
1128
1127
|
"styleDeclaration": [
|
|
@@ -1603,7 +1602,7 @@
|
|
|
1603
1602
|
"name": "<font-tech>",
|
|
1604
1603
|
"href": "https://drafts.csswg.org/css-fonts-4/#font-tech-values",
|
|
1605
1604
|
"type": "type",
|
|
1606
|
-
"value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental
|
|
1605
|
+
"value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
|
|
1607
1606
|
},
|
|
1608
1607
|
{
|
|
1609
1608
|
"name": "<font-features-tech>",
|
|
@@ -1682,6 +1681,13 @@
|
|
|
1682
1681
|
"href": "https://drafts.csswg.org/css-fonts-4/#typedef-opentype-tag",
|
|
1683
1682
|
"type": "type",
|
|
1684
1683
|
"value": "<string>"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "palette-mix()",
|
|
1687
|
+
"prose": "With the palette-mix() function defined as follows:",
|
|
1688
|
+
"href": "https://drafts.csswg.org/css-fonts-4/#funcdef-palette-mix",
|
|
1689
|
+
"type": "function",
|
|
1690
|
+
"value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
|
|
1685
1691
|
}
|
|
1686
1692
|
],
|
|
1687
1693
|
"warnings": [
|
package/css-images-4.json
CHANGED
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"name": "<cf-image>",
|
|
156
156
|
"href": "https://drafts.csswg.org/css-images-4/#typedef-cf-image",
|
|
157
157
|
"type": "type",
|
|
158
|
-
"value": "
|
|
158
|
+
"value": "[ <image> | <color> ] && <percentage [0,100]>?"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"name": "element()",
|
package/css-shapes.json
CHANGED
package/css-text-4.json
CHANGED
|
@@ -1305,7 +1305,7 @@
|
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
1307
|
"name": "space-first",
|
|
1308
|
-
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as
|
|
1308
|
+
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as normal.",
|
|
1309
1309
|
"href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-first",
|
|
1310
1310
|
"type": "value",
|
|
1311
1311
|
"value": "space-first"
|
package/css-ui.json
CHANGED
|
@@ -384,6 +384,38 @@
|
|
|
384
384
|
"caretColor"
|
|
385
385
|
]
|
|
386
386
|
},
|
|
387
|
+
{
|
|
388
|
+
"name": "caret-animation",
|
|
389
|
+
"href": "https://drafts.csswg.org/css-ui-4/#propdef-caret-animation",
|
|
390
|
+
"value": "auto | manual",
|
|
391
|
+
"initial": "auto",
|
|
392
|
+
"appliesTo": "elements that accept input",
|
|
393
|
+
"inherited": "yes",
|
|
394
|
+
"percentages": "N/A",
|
|
395
|
+
"computedValue": "specified keyword",
|
|
396
|
+
"canonicalOrder": "per grammar",
|
|
397
|
+
"animationType": "discrete",
|
|
398
|
+
"values": [
|
|
399
|
+
{
|
|
400
|
+
"name": "auto",
|
|
401
|
+
"prose": "The UA determines how the caret should be animated, if at all. It should match platform conventions, and may be adjusted based on context.",
|
|
402
|
+
"href": "https://drafts.csswg.org/css-ui-4/#valdef-caret-animation-auto",
|
|
403
|
+
"type": "value",
|
|
404
|
+
"value": "auto"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "manual",
|
|
408
|
+
"prose": "The UA must not animate the caret.",
|
|
409
|
+
"href": "https://drafts.csswg.org/css-ui-4/#valdef-caret-animation-manual",
|
|
410
|
+
"type": "value",
|
|
411
|
+
"value": "manual"
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"styleDeclaration": [
|
|
415
|
+
"caret-animation",
|
|
416
|
+
"caretAnimation"
|
|
417
|
+
]
|
|
418
|
+
},
|
|
387
419
|
{
|
|
388
420
|
"name": "caret-shape",
|
|
389
421
|
"href": "https://drafts.csswg.org/css-ui-4/#propdef-caret-shape",
|
|
@@ -433,7 +465,7 @@
|
|
|
433
465
|
{
|
|
434
466
|
"name": "caret",
|
|
435
467
|
"href": "https://drafts.csswg.org/css-ui-4/#propdef-caret",
|
|
436
|
-
"value": "<'caret-color'> || <'caret-shape'>",
|
|
468
|
+
"value": "<'caret-color'> || <'caret-animation'> || <'caret-shape'>",
|
|
437
469
|
"initial": "auto",
|
|
438
470
|
"appliesTo": "elements that accept input",
|
|
439
471
|
"inherited": "yes",
|
package/css-values-5.json
CHANGED
|
@@ -397,6 +397,40 @@
|
|
|
397
397
|
"prose": "The sibling-index() functional notation represents, as an <integer>, the index of the element on which the notation is used among the children of its parent. Like :nth-child(), sibling-index() is 1-indexed.",
|
|
398
398
|
"href": "https://drafts.csswg.org/css-values-5/#funcdef-sibling-index",
|
|
399
399
|
"type": "function"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "calc-size()",
|
|
403
|
+
"href": "https://drafts.csswg.org/css-values-5/#funcdef-calc-size",
|
|
404
|
+
"type": "function",
|
|
405
|
+
"value": "calc-size( <calc-size-basis>, <calc-sum>? )",
|
|
406
|
+
"values": [
|
|
407
|
+
{
|
|
408
|
+
"name": "size",
|
|
409
|
+
"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.",
|
|
410
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-size",
|
|
411
|
+
"type": "value",
|
|
412
|
+
"value": "size"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "any",
|
|
416
|
+
"prose": "(If the calc-size basis is any, the calc-size() is a definite length, equal to its calc-size calculation.)",
|
|
417
|
+
"href": "https://drafts.csswg.org/css-values-5/#valdef-calc-size-any",
|
|
418
|
+
"type": "value",
|
|
419
|
+
"value": "any"
|
|
420
|
+
}
|
|
421
|
+
]
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "<calc-size-basis>",
|
|
425
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-calc-size-basis",
|
|
426
|
+
"type": "type",
|
|
427
|
+
"value": "[ <intrinsic-size-keyword> | <calc-size()> | any | <calc-sum> ]"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "<intrinsic-size-keyword>",
|
|
431
|
+
"prose": "The <intrinsic-size-keyword> production matches any intrinsic size keywords allowed in the context. For example, in width, it matches auto, min-content, stretch, etc.",
|
|
432
|
+
"href": "https://drafts.csswg.org/css-values-5/#typedef-intrinsic-size-keyword",
|
|
433
|
+
"type": "type"
|
|
400
434
|
}
|
|
401
435
|
],
|
|
402
436
|
"warnings": [
|
package/mediaqueries-5.json
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"name": "display-mode",
|
|
146
146
|
"href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-display-mode",
|
|
147
147
|
"for": "@media",
|
|
148
|
-
"value": "fullscreen | standalone | minimal-ui | browser",
|
|
148
|
+
"value": "fullscreen | standalone | minimal-ui | browser | picture-in-picture",
|
|
149
149
|
"type": "discrete"
|
|
150
150
|
},
|
|
151
151
|
{
|