@webref/css 6.20.3 → 6.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css-align.json +1 -1
- package/css-backgrounds-4.json +4 -0
- package/css-color-5.json +12 -0
- package/css-color-hdr.json +26 -44
- package/css-color.json +83 -6
- package/css-counter-styles.json +14 -14
- package/css-forms.json +199 -0
- package/css-gaps.json +91 -44
- package/css-grid.json +74 -24
- package/css-images-4.json +10 -10
- package/css-images.json +1 -1
- package/css-page.json +1 -1
- package/css-pseudo.json +5 -15
- package/css-round-display.json +30 -38
- package/css-sizing-4.json +4 -4
- package/css-ui.json +1 -1
- package/css-values-5.json +77 -11
- package/css-values.json +1 -1
- package/css-writing-modes.json +1 -1
- package/motion.json +1 -1
- package/package.json +1 -1
- package/selectors.json +3 -3
package/css-align.json
CHANGED
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"name": "stretch",
|
|
168
|
-
"prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Alignment: the justify-self property.",
|
|
168
|
+
"prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Self-Alignment: the justify-self property.",
|
|
169
169
|
"href": "https://drafts.csswg.org/css-align-3/#valdef-align-self-stretch",
|
|
170
170
|
"type": "value",
|
|
171
171
|
"value": "stretch"
|
package/css-backgrounds-4.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"computedValue": "as specified",
|
|
16
16
|
"canonicalOrder": "per grammar",
|
|
17
17
|
"animationType": "discrete",
|
|
18
|
+
"logicalPropertyGroup": "background-repeat",
|
|
18
19
|
"values": [
|
|
19
20
|
{
|
|
20
21
|
"name": "repeat",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"computedValue": "as specified",
|
|
62
63
|
"canonicalOrder": "per grammar",
|
|
63
64
|
"animationType": "discrete",
|
|
65
|
+
"logicalPropertyGroup": "background-repeat",
|
|
64
66
|
"values": [
|
|
65
67
|
{
|
|
66
68
|
"name": "repeat",
|
|
@@ -107,6 +109,7 @@
|
|
|
107
109
|
"computedValue": "as specified",
|
|
108
110
|
"canonicalOrder": "per grammar",
|
|
109
111
|
"animationType": "discrete",
|
|
112
|
+
"logicalPropertyGroup": "background-repeat",
|
|
110
113
|
"values": [
|
|
111
114
|
{
|
|
112
115
|
"name": "repeat",
|
|
@@ -153,6 +156,7 @@
|
|
|
153
156
|
"computedValue": "as specified",
|
|
154
157
|
"canonicalOrder": "per grammar",
|
|
155
158
|
"animationType": "discrete",
|
|
159
|
+
"logicalPropertyGroup": "background-repeat",
|
|
156
160
|
"values": [
|
|
157
161
|
{
|
|
158
162
|
"name": "repeat",
|
package/css-color-5.json
CHANGED
|
@@ -359,6 +359,12 @@
|
|
|
359
359
|
"type": "type",
|
|
360
360
|
"value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
|
|
361
361
|
},
|
|
362
|
+
{
|
|
363
|
+
"name": "<custom-params>",
|
|
364
|
+
"href": "https://drafts.csswg.org/css-color-5/#typedef-custom-params",
|
|
365
|
+
"type": "type",
|
|
366
|
+
"value": "<dashed-ident> [ <number> | <percentage> | none ]+"
|
|
367
|
+
},
|
|
362
368
|
{
|
|
363
369
|
"name": "<predefined-rgb-params>",
|
|
364
370
|
"href": "https://drafts.csswg.org/css-color-5/#typedef-predefined-rgb-params",
|
|
@@ -377,6 +383,12 @@
|
|
|
377
383
|
"type": "type",
|
|
378
384
|
"value": "<xyz> [ <number> | <percentage> | none ]{3}"
|
|
379
385
|
},
|
|
386
|
+
{
|
|
387
|
+
"name": "<xyz>",
|
|
388
|
+
"href": "https://drafts.csswg.org/css-color-5/#typedef-xyz",
|
|
389
|
+
"type": "type",
|
|
390
|
+
"value": "xyz | xyz-d50 | xyz-d65"
|
|
391
|
+
},
|
|
380
392
|
{
|
|
381
393
|
"name": "device-cmyk()",
|
|
382
394
|
"href": "https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk",
|
package/css-color-hdr.json
CHANGED
|
@@ -18,21 +18,21 @@
|
|
|
18
18
|
"values": [
|
|
19
19
|
{
|
|
20
20
|
"name": "standard",
|
|
21
|
-
"prose": "The highest luminance color that is displayed is the same as
|
|
21
|
+
"prose": "The highest luminance color that is displayed is the same as HDR reference white, i.e. the CSS color white.",
|
|
22
22
|
"href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-standard",
|
|
23
23
|
"type": "value",
|
|
24
24
|
"value": "standard"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "no-limit",
|
|
28
|
-
"prose": "The highest peak luminance that is displayed is much greater than
|
|
28
|
+
"prose": "The highest peak luminance that is displayed is much greater than HDR reference white, i.e. the CSS color white; the precise level is not specified.",
|
|
29
29
|
"href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-no-limit",
|
|
30
30
|
"type": "value",
|
|
31
31
|
"value": "no-limit"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "constrained-high",
|
|
35
|
-
"prose": "The highest peak luminance that is displayed is somewhat greater than
|
|
35
|
+
"prose": "The highest peak luminance that is displayed is somewhat greater than HDR reference white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.",
|
|
36
36
|
"href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high",
|
|
37
37
|
"type": "value",
|
|
38
38
|
"value": "constrained-high"
|
|
@@ -54,64 +54,46 @@
|
|
|
54
54
|
"value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"name": "color
|
|
58
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#
|
|
59
|
-
"type": "
|
|
60
|
-
"value": "
|
|
57
|
+
"name": "<color-function>",
|
|
58
|
+
"href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-color-function",
|
|
59
|
+
"type": "type",
|
|
60
|
+
"value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <color()>"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
-
"name": "
|
|
64
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#
|
|
65
|
-
"type": "
|
|
66
|
-
"value": "[<
|
|
63
|
+
"name": "ictcp()",
|
|
64
|
+
"href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-ictcp",
|
|
65
|
+
"type": "function",
|
|
66
|
+
"value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
"name": "
|
|
70
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#
|
|
71
|
-
"type": "
|
|
72
|
-
"value": "<
|
|
69
|
+
"name": "jzazbz()",
|
|
70
|
+
"href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzazbz",
|
|
71
|
+
"type": "function",
|
|
72
|
+
"value": "jzazbz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
"name": "
|
|
76
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#
|
|
77
|
-
"type": "
|
|
78
|
-
"value": "<
|
|
75
|
+
"name": "jzczhz()",
|
|
76
|
+
"href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzczhz",
|
|
77
|
+
"type": "function",
|
|
78
|
+
"value": "jzczhz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
"name": "
|
|
82
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#
|
|
83
|
-
"type": "
|
|
84
|
-
"value": "
|
|
81
|
+
"name": "hdr-color()",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-hdr-color",
|
|
83
|
+
"type": "function",
|
|
84
|
+
"value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
"name": "<
|
|
88
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-
|
|
87
|
+
"name": "<colorspace-params>",
|
|
88
|
+
"href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-colorspace-params",
|
|
89
89
|
"type": "type",
|
|
90
|
-
"value": "<
|
|
90
|
+
"value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"name": "<predefined-rgb>",
|
|
94
94
|
"href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
|
|
95
95
|
"type": "type",
|
|
96
96
|
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "<predefined-rectangular>",
|
|
100
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#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-1/#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-1/#typedef-xyz",
|
|
113
|
-
"type": "type",
|
|
114
|
-
"value": "xyz | xyz-d50 | xyz-d65"
|
|
115
97
|
}
|
|
116
98
|
]
|
|
117
99
|
}
|
package/css-color.json
CHANGED
|
@@ -250,12 +250,6 @@
|
|
|
250
250
|
"type": "type",
|
|
251
251
|
"value": "<hex-color> | <color-function> | <named-color> | transparent"
|
|
252
252
|
},
|
|
253
|
-
{
|
|
254
|
-
"name": "<color-function>",
|
|
255
|
-
"href": "https://drafts.csswg.org/css-color-4/#typedef-color-function",
|
|
256
|
-
"type": "type",
|
|
257
|
-
"value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
|
|
258
|
-
},
|
|
259
253
|
{
|
|
260
254
|
"name": "<hue>",
|
|
261
255
|
"href": "https://drafts.csswg.org/css-color-4/#typedef-hue",
|
|
@@ -1461,6 +1455,89 @@
|
|
|
1461
1455
|
}
|
|
1462
1456
|
]
|
|
1463
1457
|
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "color()",
|
|
1460
|
+
"href": "https://drafts.csswg.org/css-color-4/#funcdef-color",
|
|
1461
|
+
"type": "function",
|
|
1462
|
+
"value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
|
|
1463
|
+
"values": [
|
|
1464
|
+
{
|
|
1465
|
+
"name": "srgb",
|
|
1466
|
+
"prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
|
|
1467
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb",
|
|
1468
|
+
"type": "value",
|
|
1469
|
+
"value": "srgb"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"name": "srgb-linear",
|
|
1473
|
+
"prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. 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)",
|
|
1474
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb-linear",
|
|
1475
|
+
"type": "value",
|
|
1476
|
+
"value": "srgb-linear"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "display-p3",
|
|
1480
|
+
"prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m Black luminance 0.80 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
|
|
1481
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-display-p3",
|
|
1482
|
+
"type": "value",
|
|
1483
|
+
"value": "display-p3"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "a98-rgb",
|
|
1487
|
+
"prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m Black luminance 0.5557 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
|
|
1488
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb",
|
|
1489
|
+
"type": "value",
|
|
1490
|
+
"value": "a98-rgb"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "prophoto-rgb",
|
|
1494
|
+
"prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
|
|
1495
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb",
|
|
1496
|
+
"type": "value",
|
|
1497
|
+
"value": "prophoto-rgb"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "rec2020",
|
|
1501
|
+
"prose": "The rec2020 [Rec.2020] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1], (\"full-range\", in video terminology). ITU Reference 2020 is used for Ultra High Definition, 4k and 8k television. The primaries are physically realizable, but with difficulty as they lie very close to the spectral locus. Current displays are unable to reproduce the full gamut of rec2020. Coverage is expected to increase over time as displays improve. It has the following characteristics: x y Red chromaticity 0.708 0.292 Green chromaticity 0.170 0.797 Blue chromaticity 0.131 0.046 White chromaticity D65 Transfer function 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.",
|
|
1502
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-rec2020",
|
|
1503
|
+
"type": "value",
|
|
1504
|
+
"value": "rec2020"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "xyz-d50",
|
|
1508
|
+
"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; colors where Y is greater than 1.0 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) These colors are exactly equivalent, and represent white: #FFFFFF color(xyz-d50 0.9643 1 0.8251) color(xyz-d65 0.9505 1 1.089)",
|
|
1509
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d50",
|
|
1510
|
+
"type": "value",
|
|
1511
|
+
"value": "xyz-d50"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "xyz-d65",
|
|
1515
|
+
"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; colors where Y is greater than 1.0 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) These colors are exactly equivalent, and represent white: #FFFFFF color(xyz-d50 0.9643 1 0.8251) color(xyz-d65 0.9505 1 1.089)",
|
|
1516
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d65",
|
|
1517
|
+
"type": "value",
|
|
1518
|
+
"value": "xyz-d65"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "xyz",
|
|
1522
|
+
"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; colors where Y is greater than 1.0 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) These colors are exactly equivalent, and represent white: #FFFFFF color(xyz-d50 0.9643 1 0.8251) color(xyz-d65 0.9505 1 1.089)",
|
|
1523
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz",
|
|
1524
|
+
"type": "value",
|
|
1525
|
+
"value": "xyz"
|
|
1526
|
+
}
|
|
1527
|
+
]
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"name": "<predefined-rgb-params>",
|
|
1531
|
+
"href": "https://drafts.csswg.org/css-color-4/#typedef-predefined-rgb-params",
|
|
1532
|
+
"type": "type",
|
|
1533
|
+
"value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "<xyz-params>",
|
|
1537
|
+
"href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-params",
|
|
1538
|
+
"type": "type",
|
|
1539
|
+
"value": "<xyz-space> [ <number> | <percentage> | none ]{3}"
|
|
1540
|
+
},
|
|
1464
1541
|
{
|
|
1465
1542
|
"name": "<xyz-space>",
|
|
1466
1543
|
"href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-space",
|
package/css-counter-styles.json
CHANGED
|
@@ -504,6 +504,20 @@
|
|
|
504
504
|
"type": "value",
|
|
505
505
|
"value": "cjk-heavenly-stem"
|
|
506
506
|
},
|
|
507
|
+
{
|
|
508
|
+
"name": "japanese-informal",
|
|
509
|
+
"prose": "Informal Japanese Kanji numbering (e.g., 千百十一)",
|
|
510
|
+
"href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-informal",
|
|
511
|
+
"type": "value",
|
|
512
|
+
"value": "japanese-informal"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "japanese-formal",
|
|
516
|
+
"prose": "Formal Japanese Kanji numbering (e.g. 壱阡壱百壱拾壱)",
|
|
517
|
+
"href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-formal",
|
|
518
|
+
"type": "value",
|
|
519
|
+
"value": "japanese-formal"
|
|
520
|
+
},
|
|
507
521
|
{
|
|
508
522
|
"name": "korean-hangul-formal",
|
|
509
523
|
"prose": "Korean Hangul numbering (e.g., 일천일백일십일)",
|
|
@@ -558,20 +572,6 @@
|
|
|
558
572
|
"type": "type",
|
|
559
573
|
"value": "<counter-style-name> | <symbols()>",
|
|
560
574
|
"values": [
|
|
561
|
-
{
|
|
562
|
-
"name": "japanese-informal",
|
|
563
|
-
"prose": "Informal Japanese Kanji numbering (e.g., 千百十一)",
|
|
564
|
-
"href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-informal",
|
|
565
|
-
"type": "value",
|
|
566
|
-
"value": "japanese-informal"
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
"name": "japanese-formal",
|
|
570
|
-
"prose": "Formal Japanese Kanji numbering (e.g. 壱阡壱百壱拾壱)",
|
|
571
|
-
"href": "https://drafts.csswg.org/css-counter-styles-3/#japanese-formal",
|
|
572
|
-
"type": "value",
|
|
573
|
-
"value": "japanese-formal"
|
|
574
|
-
},
|
|
575
575
|
{
|
|
576
576
|
"name": "simp-chinese-informal",
|
|
577
577
|
"prose": "Simplified Chinese informal numbering (e.g., 一千一百一十一)",
|
package/css-forms.json
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": {
|
|
3
|
+
"title": "CSS Form Control Styling Level 1",
|
|
4
|
+
"url": "https://drafts.csswg.org/css-forms-1/"
|
|
5
|
+
},
|
|
6
|
+
"properties": [
|
|
7
|
+
{
|
|
8
|
+
"name": "appearance",
|
|
9
|
+
"newValues": "base",
|
|
10
|
+
"values": [
|
|
11
|
+
{
|
|
12
|
+
"name": "base",
|
|
13
|
+
"prose": "When applied on a form control, base puts that control in the basic appearance state.",
|
|
14
|
+
"href": "https://drafts.csswg.org/css-forms-1/#valdef-appearance-base",
|
|
15
|
+
"type": "value",
|
|
16
|
+
"value": "base"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"styleDeclaration": [
|
|
20
|
+
"appearance"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "slider-orientation",
|
|
25
|
+
"href": "https://drafts.csswg.org/css-forms-1/#propdef-slider-orientation",
|
|
26
|
+
"value": "auto | left-to-right | right-to-left | top-to-bottom | bottom-to-top",
|
|
27
|
+
"initial": "auto",
|
|
28
|
+
"appliesTo": "all elements",
|
|
29
|
+
"inherited": "no",
|
|
30
|
+
"percentages": "n/a",
|
|
31
|
+
"computedValue": "as specified",
|
|
32
|
+
"canonicalOrder": "per grammar",
|
|
33
|
+
"animationType": "discrete",
|
|
34
|
+
"values": [
|
|
35
|
+
{
|
|
36
|
+
"name": "auto",
|
|
37
|
+
"prose": "The slider-like control orientation is defined by the writing mode and direction.",
|
|
38
|
+
"href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-auto",
|
|
39
|
+
"type": "value",
|
|
40
|
+
"value": "auto"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "left-to-right",
|
|
44
|
+
"prose": "The slider-like control is rendered horizontally and ::fill is left-aligned within the control.",
|
|
45
|
+
"href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-left-to-right",
|
|
46
|
+
"type": "value",
|
|
47
|
+
"value": "left-to-right"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "right-to-left",
|
|
51
|
+
"prose": "The slider-like control is rendered horizontally and ::fill is right-aligned within the control.",
|
|
52
|
+
"href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-right-to-left",
|
|
53
|
+
"type": "value",
|
|
54
|
+
"value": "right-to-left"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "top-to-bottom",
|
|
58
|
+
"prose": "The slider-like control is rendered vertically and ::fill is top-aligned within the control.",
|
|
59
|
+
"href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-top-to-bottom",
|
|
60
|
+
"type": "value",
|
|
61
|
+
"value": "top-to-bottom"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "bottom-to-top",
|
|
65
|
+
"prose": "The slider-like control is rendered vertically and ::fill is bottom-aligned within the control.",
|
|
66
|
+
"href": "https://drafts.csswg.org/css-forms-1/#valdef-slider-orientation-bottom-to-top",
|
|
67
|
+
"type": "value",
|
|
68
|
+
"value": "bottom-to-top"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"styleDeclaration": [
|
|
72
|
+
"slider-orientation",
|
|
73
|
+
"sliderOrientation"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"atrules": [],
|
|
78
|
+
"selectors": [
|
|
79
|
+
{
|
|
80
|
+
"name": "::picker()",
|
|
81
|
+
"prose": "The ::picker() pseudo-element represents the part of the form control that pops out of the page.",
|
|
82
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker",
|
|
83
|
+
"value": "::picker( <form-control-identifier>+ )",
|
|
84
|
+
"values": [
|
|
85
|
+
{
|
|
86
|
+
"name": "<form-control-identifier>",
|
|
87
|
+
"href": "https://drafts.csswg.org/css-forms-1/#typedef-picker-form-control-identifier",
|
|
88
|
+
"type": "type",
|
|
89
|
+
"value": "select"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "::picker-icon",
|
|
95
|
+
"prose": "The ::picker-icon pseudo-element represents the part of the control that represents the icon denoting the presence of the picker. It is only generated when the originating element has basic appearance and if it opens a picker. It is a fully styleable pseudo-element and inherits from its originating element.",
|
|
96
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker-icon"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "::file-selector-button",
|
|
100
|
+
"prose": "The ::file-selector-button pseudo-element represents the button used to open a file picker, if the UA renders such a button.",
|
|
101
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-file-selector-button"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "::checkmark",
|
|
105
|
+
"prose": "The ::checkmark pseudo-element represents an indicator of whether the item is checked, and is present on checkboxes, radios, and option elements.",
|
|
106
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-checkmark"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "::thumb",
|
|
110
|
+
"prose": "The ::thumb pseudo-element represents the portion that allows the user to adjust the progress of the control.",
|
|
111
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-thumb"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "::track",
|
|
115
|
+
"prose": "The ::track pseudo-element represents the portion containing both the progressed and unprogressed portions of the control.",
|
|
116
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-track"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "::fill",
|
|
120
|
+
"prose": "The ::fill pseudo-element represents the portion containing the progressed portion of the control. When the progress of control is undetermined (like with <progress indeterminate>), the user agent must give this portion an inline-size of zero.",
|
|
121
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-fill"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "::placeholder",
|
|
125
|
+
"prose": "The ::placeholder pseudo-element represents the portion of the input that contains the placeholder text.",
|
|
126
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-placeholder"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "::field-text",
|
|
130
|
+
"prose": "The ::field-text pseudo-element represents the portion of the input that contains the editable text.",
|
|
131
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-text"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "::clear-icon",
|
|
135
|
+
"prose": "The ::clear-icon pseudo-element represents the portion of the input that allows the user to clear the input when clicked if provided by the user agent. With appearance: textfield, the user agent must not generate this part.",
|
|
136
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-clear-icon"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "::step-control",
|
|
140
|
+
"prose": "The ::step-control pseudo-element represents the portion of a number input that contains the up and down buttons.",
|
|
141
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-control"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"name": "::step-up",
|
|
145
|
+
"prose": "The ::step-up pseudo-element represents the button that increments the value inside a number input when activated.",
|
|
146
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-up"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "::step-down",
|
|
150
|
+
"prose": "The ::step-down pseudo-element represents the button that decrements the value inside a number input when activated.",
|
|
151
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-down"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "::field-component",
|
|
155
|
+
"prose": "The ::field-component pseudo-element represents the portions of the control that contain the date/time component values.",
|
|
156
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-component"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "::field-separator",
|
|
160
|
+
"prose": "The ::field-separator pseudo-element represents the portions of the control that separate the date/time component values if the user agent provides those portions.",
|
|
161
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-separator"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "::color-swatch",
|
|
165
|
+
"prose": "The ::color-swatch pseudo-element represents the portion of the control that displays the chosen color value.",
|
|
166
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-color-swatch"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": ":low-value",
|
|
170
|
+
"prose": "The :low-value pseudo-class matches on a meter element when its value is under the value specified by the low HTML attribute.",
|
|
171
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-low-value"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": ":high-value",
|
|
175
|
+
"prose": "The :high-value pseudo-class matches on a meter element when its value is over the value specified by the high HTML attribute.",
|
|
176
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-high-value"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": ":optimal-value",
|
|
180
|
+
"prose": "The :optimal-value pseudo-class matches on a meter element when its value is in the range determined by the optimum / low / high HTML attributes.",
|
|
181
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-optimal-value"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"values": [
|
|
185
|
+
{
|
|
186
|
+
"name": "control-value()",
|
|
187
|
+
"prose": "The control-value() function computes to the current value of the form control it is on. If it is used on an element that is not a form control, it returns an empty string.",
|
|
188
|
+
"href": "https://drafts.csswg.org/css-forms-1/#funcdef-control-value",
|
|
189
|
+
"type": "function",
|
|
190
|
+
"value": "control-value( <type>? )"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "<type>",
|
|
194
|
+
"href": "https://drafts.csswg.org/css-forms-1/#typedef-type",
|
|
195
|
+
"type": "type",
|
|
196
|
+
"value": "'<' [ number | string ] '>'"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|