@webref/css 6.20.4 → 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 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-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",
@@ -54,70 +54,46 @@
54
54
  "value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )"
55
55
  },
56
56
  {
57
- "name": "hdr-color()",
58
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-hdr-color",
59
- "type": "function",
60
- "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
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": "color()",
64
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-color",
63
+ "name": "ictcp()",
64
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-ictcp",
65
65
  "type": "function",
66
- "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
66
+ "value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )"
67
67
  },
68
68
  {
69
- "name": "<colorspace-params>",
70
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-colorspace-params",
71
- "type": "type",
72
- "value": "[<custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params>]"
73
- },
74
- {
75
- "name": "<custom-params>",
76
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-custom-params",
77
- "type": "type",
78
- "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
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] ]? )"
79
73
  },
80
74
  {
81
- "name": "<predefined-rgb-params>",
82
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb-params",
83
- "type": "type",
84
- "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
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] ]? )"
85
79
  },
86
80
  {
87
- "name": "<predefined-polar-params>",
88
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-polar-params",
89
- "type": "type",
90
- "value": "jzczhz [ <number> | <percentage> | none ]{2} [ <hue> | none]"
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})"
91
85
  },
92
86
  {
93
- "name": "<predefined-rectangular-params>",
94
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rectangular-params",
87
+ "name": "<colorspace-params>",
88
+ "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-colorspace-params",
95
89
  "type": "type",
96
- "value": "<predefined-rectangular> [ <number> | <percentage> | none ]{3}"
90
+ "value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
97
91
  },
98
92
  {
99
93
  "name": "<predefined-rgb>",
100
94
  "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
101
95
  "type": "type",
102
96
  "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
103
- },
104
- {
105
- "name": "<predefined-rectangular>",
106
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rectangular",
107
- "type": "type",
108
- "value": "jzazbz | ictcp"
109
- },
110
- {
111
- "name": "<xyz-params>",
112
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-xyz-params",
113
- "type": "type",
114
- "value": "<xyz> [ <number> | <percentage> | none ]{3}"
115
- },
116
- {
117
- "name": "<xyz>",
118
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-xyz",
119
- "type": "type",
120
- "value": "xyz | xyz-d50 | xyz-d65"
121
97
  }
122
98
  ]
123
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",
@@ -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
+ }
package/css-grid.json CHANGED
@@ -703,7 +703,7 @@
703
703
  "values": [
704
704
  {
705
705
  "name": "auto-fill",
706
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
706
+ "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite preferred size or maximum size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container taking gap into account; if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite minimum size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
707
707
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
708
708
  "type": "value",
709
709
  "value": "auto-fill"
@@ -733,7 +733,7 @@
733
733
  "values": [
734
734
  {
735
735
  "name": "auto-fill",
736
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
736
+ "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite preferred size or maximum size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container taking gap into account; if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite minimum size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
737
737
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
738
738
  "type": "value",
739
739
  "value": "auto-fill"
@@ -763,7 +763,7 @@
763
763
  "values": [
764
764
  {
765
765
  "name": "auto-fill",
766
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
766
+ "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite preferred size or maximum size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container taking gap into account; if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite minimum size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
767
767
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
768
768
  "type": "value",
769
769
  "value": "auto-fill"
@@ -783,31 +783,7 @@
783
783
  "name": "<name-repeat>",
784
784
  "href": "https://drafts.csswg.org/css-grid-2/#typedef-name-repeat",
785
785
  "type": "type",
786
- "value": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+)",
787
- "values": [
788
- {
789
- "name": "repeat()",
790
- "prose": "The repeat() notation represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form.",
791
- "href": "https://drafts.csswg.org/css-grid-2/#funcdef-track-repeat-repeat",
792
- "type": "function",
793
- "values": [
794
- {
795
- "name": "auto-fill",
796
- "prose": "Otherwise on a standalone axis, when auto-fill is given as the repetition number, if the grid container has a definite size or max size in the relevant axis, then the number of repetitions is the largest possible positive integer that does not cause the grid to overflow the content box of its grid container (treating each track as its max track sizing function if that is definite or as its minimum track sizing function otherwise, flooring the max track sizing function by the min track sizing function if both are definite, and taking gap into account); if any number of repetitions would overflow, then 1 repetition. Otherwise, if the grid container has a definite min size in the relevant axis, the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement. Otherwise, the specified track list repeats only once.",
797
- "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fill",
798
- "type": "value",
799
- "value": "auto-fill"
800
- },
801
- {
802
- "name": "auto-fit",
803
- "prose": "The auto-fit keyword behaves the same as auto-fill, except that after grid item placement any empty repeated tracks are collapsed. An empty track is one with no in-flow grid items placed into or spanning across it. (This can result in all tracks being collapsed, if they’re all empty.)",
804
- "href": "https://drafts.csswg.org/css-grid-2/#valdef-repeat-auto-fit",
805
- "type": "value",
806
- "value": "auto-fit"
807
- }
808
- ]
809
- }
810
- ]
786
+ "value": "repeat( [ <integer [1,∞]> | auto-fill ], <line-names>+)"
811
787
  },
812
788
  {
813
789
  "name": "<flex>",
package/css-images-4.json CHANGED
@@ -173,7 +173,7 @@
173
173
  "name": "<linear-gradient-syntax>",
174
174
  "href": "https://drafts.csswg.org/css-images-4/#typedef-linear-gradient-syntax",
175
175
  "type": "type",
176
- "value": "[ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>"
176
+ "value": "[ [ <angle> | <zero> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>"
177
177
  },
178
178
  {
179
179
  "name": "<side-or-corner>",
@@ -194,11 +194,11 @@
194
194
  "value": "conic-gradient( [ <conic-gradient-syntax> ] )",
195
195
  "values": [
196
196
  {
197
- "name": "<angle>",
197
+ "name": "<angle> | <zero>",
198
198
  "prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
199
- "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle",
199
+ "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle--zero",
200
200
  "type": "value",
201
- "value": "<angle>"
201
+ "value": "<angle> | <zero>"
202
202
  },
203
203
  {
204
204
  "name": "<position>",
@@ -213,7 +213,7 @@
213
213
  "name": "<conic-gradient-syntax>",
214
214
  "href": "https://drafts.csswg.org/css-images-4/#typedef-conic-gradient-syntax",
215
215
  "type": "type",
216
- "value": "[ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
216
+ "value": "[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>"
217
217
  },
218
218
  {
219
219
  "name": "repeating-linear-gradient()",
@@ -237,11 +237,11 @@
237
237
  "value": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )",
238
238
  "values": [
239
239
  {
240
- "name": "<angle>",
240
+ "name": "<angle> | <zero>",
241
241
  "prose": "The entire gradient is rotated by this angle. If omitted, defaults to 0deg. The unit identifier may be omitted if the <angle> is zero.",
242
- "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle",
242
+ "href": "https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle--zero",
243
243
  "type": "value",
244
- "value": "<angle>"
244
+ "value": "<angle> | <zero>"
245
245
  },
246
246
  {
247
247
  "name": "<position>",
@@ -292,13 +292,13 @@
292
292
  "name": "<angular-color-hint>",
293
293
  "href": "https://drafts.csswg.org/css-images-4/#typedef-angular-color-hint",
294
294
  "type": "type",
295
- "value": "<angle-percentage>"
295
+ "value": "<angle-percentage> | <zero>"
296
296
  },
297
297
  {
298
298
  "name": "<color-stop-angle>",
299
299
  "href": "https://drafts.csswg.org/css-images-4/#typedef-color-stop-angle",
300
300
  "type": "type",
301
- "value": "<angle-percentage>{1,2}"
301
+ "value": "[ <angle-percentage> | <zero> ]{1,2}"
302
302
  },
303
303
  {
304
304
  "name": "<color-stop>",
package/css-images.json CHANGED
@@ -192,7 +192,7 @@
192
192
  "name": "<linear-gradient-syntax>",
193
193
  "href": "https://drafts.csswg.org/css-images-3/#typedef-linear-gradient-syntax",
194
194
  "type": "type",
195
- "value": "[ <angle> | to <side-or-corner> ]? , <color-stop-list>"
195
+ "value": "[ <angle> | <zero> | to <side-or-corner> ]? , <color-stop-list>"
196
196
  },
197
197
  {
198
198
  "name": "<side-or-corner>",
package/css-pseudo.json CHANGED
@@ -18,14 +18,14 @@
18
18
  "values": [
19
19
  {
20
20
  "name": "::prefix",
21
- "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::postfix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::postfix). See § 2.2.1 First Letters and Associated Punctuation, below.",
21
+ "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
22
22
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-prefix",
23
23
  "type": "selector"
24
24
  },
25
25
  {
26
- "name": "::postfix",
27
- "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::postfix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::postfix). See § 2.2.1 First Letters and Associated Punctuation, below.",
28
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-postfix",
26
+ "name": "::suffix",
27
+ "prose": "To allow independent styling of the first letter itself and its adjacent punctuation, associated preceding punctuation is represented by the ::prefix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::prefix); and associated following punctuation is represented by the ::suffix sub-pseudo-element of the ::first-letter pseudo-element (::first-letter::suffix). See § 2.2.1 First Letters and Associated Punctuation, below.",
28
+ "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-first-letter-suffix",
29
29
  "type": "selector"
30
30
  }
31
31
  ]
@@ -37,7 +37,7 @@
37
37
  },
38
38
  {
39
39
  "name": "::search-text",
40
- "prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. How to identify the current match? [Issue #10527]",
40
+ "prose": "The ::search-text pseudo-element represents text identified by the user agent’s find-in-page feature. Since not all UAs style matched text in ways expressible with the highlight pseudo-elements, this pseudo-element is optional to implement. The :current pseudo-class (but not ::current()) may be combined with ::search-text to represent the currently focused match instance. The :past and :future pseudo-classes are reserved for analogous use in the future. Any unsupported combination of these pseudo-classes with ::search-text must be treated as invalid.",
41
41
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-search-text"
42
42
  },
43
43
  {
@@ -75,16 +75,6 @@
75
75
  "prose": "The ::marker pseudo-element represents the automatically generated marker box of a list item. (See [CSS-DISPLAY-3] and [CSS-LISTS-3].)",
76
76
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-marker"
77
77
  },
78
- {
79
- "name": "::placeholder",
80
- "prose": "The ::placeholder pseudo-element represents placeholder text in an input field: text that represents the input and provides a hint to the user on how to fill out the form. For example, a date-input field might have the placeholder text “YYYY/MM/DD” to clarify that numeric dates are to be entered in year-month-day order. It is a tree-abiding pseudo-element.",
81
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-placeholder"
82
- },
83
- {
84
- "name": "::file-selector-button",
85
- "prose": "The ::file-selector-button pseudo-element targets the <button> inside an <input> element with type=file, if the UA renders such a button. It is an element-backed pseudo-element.",
86
- "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-file-selector-button"
87
- },
88
78
  {
89
79
  "name": "::details-content",
90
80
  "prose": "The ::details-content pseudo-element targets the additional information in a a details element that can be expanded or collapsed. It is an element-backed pseudo-element.",
@@ -49,45 +49,37 @@
49
49
  ]
50
50
  }
51
51
  ]
52
- },
53
- {
54
- "name": "@viewport",
55
- "descriptors": [
56
- {
57
- "name": "viewport-fit",
58
- "href": "https://drafts.csswg.org/css-round-display-1/#descdef-viewport-viewport-fit",
59
- "for": "@viewport",
60
- "value": "auto | contain | cover",
61
- "initial": "auto",
62
- "percentages": "N/A",
63
- "computedValue": "as specified",
64
- "values": [
65
- {
66
- "name": "auto",
67
- "prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
68
- "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
69
- "type": "value",
70
- "value": "auto"
71
- },
72
- {
73
- "name": "contain",
74
- "prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
75
- "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
76
- "type": "value",
77
- "value": "contain"
78
- },
79
- {
80
- "name": "cover",
81
- "prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
82
- "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
83
- "type": "value",
84
- "value": "cover"
85
- }
86
- ]
87
- }
88
- ]
89
52
  }
90
53
  ],
91
54
  "selectors": [],
92
- "values": []
55
+ "values": [],
56
+ "warnings": [
57
+ {
58
+ "msg": "Dangling value",
59
+ "name": "auto",
60
+ "prose": "This value doesn’t affect the initial layout viewport, and the whole web page is viewable. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
61
+ "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-auto",
62
+ "type": "value",
63
+ "value": "auto",
64
+ "for": "viewport-fit"
65
+ },
66
+ {
67
+ "msg": "Dangling value",
68
+ "name": "contain",
69
+ "prose": "The initial layout viewport and the visual viewport are set to the largest rectangle which is inscribed in the display of the device. What the UA paints outside of the viewport is undefined. It may be the background color of the canvas, or anything else that the UA deems appropriate.",
70
+ "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-contain",
71
+ "type": "value",
72
+ "value": "contain",
73
+ "for": "viewport-fit"
74
+ },
75
+ {
76
+ "msg": "Dangling value",
77
+ "name": "cover",
78
+ "prose": "The initial layout viewport and the visual viewport are set to the circumscribed rectangle of the physical screen of the device.",
79
+ "href": "https://drafts.csswg.org/css-round-display-1/#valdef-viewport-fit-cover",
80
+ "type": "value",
81
+ "value": "cover",
82
+ "for": "viewport-fit"
83
+ }
84
+ ]
93
85
  }
package/css-sizing-4.json CHANGED
@@ -230,7 +230,7 @@
230
230
  {
231
231
  "name": "contain-intrinsic-width",
232
232
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-width",
233
- "value": "auto? [ none | <length> ]",
233
+ "value": "auto? [ none | <length [0,∞]> ]",
234
234
  "initial": "none",
235
235
  "appliesTo": "elements with size containment",
236
236
  "inherited": "no",
@@ -263,7 +263,7 @@
263
263
  {
264
264
  "name": "contain-intrinsic-height",
265
265
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-height",
266
- "value": "auto? [ none | <length> ]",
266
+ "value": "auto? [ none | <length [0,∞]> ]",
267
267
  "initial": "none",
268
268
  "appliesTo": "elements with size containment",
269
269
  "inherited": "no",
@@ -296,7 +296,7 @@
296
296
  {
297
297
  "name": "contain-intrinsic-block-size",
298
298
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-block-size",
299
- "value": "auto? [ none | <length> ]",
299
+ "value": "auto? [ none | <length [0,∞]> ]",
300
300
  "initial": "none",
301
301
  "appliesTo": "elements with size containment",
302
302
  "inherited": "no",
@@ -329,7 +329,7 @@
329
329
  {
330
330
  "name": "contain-intrinsic-inline-size",
331
331
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-inline-size",
332
- "value": "auto? [ none | <length> ]",
332
+ "value": "auto? [ none | <length [0,∞]> ]",
333
333
  "initial": "none",
334
334
  "appliesTo": "elements with size containment",
335
335
  "inherited": "no",
package/css-ui.json CHANGED
@@ -678,7 +678,7 @@
678
678
  },
679
679
  {
680
680
  "name": "auto",
681
- "prose": "Elements representing widgets should have the native appearance of that widget, if the properties that disable native appearance for widgets are not in effect. See § 7.2.1 Properties Disabling Native Appearance. The host language is responsible for defining which elements represent which widgets. Elements other than widgets must be rendered as for none.",
681
+ "prose": "The element’s box is laid out like a regular replaced element. Within that box, elements representing widgets should have the native appearance of that widget. The host language is responsible for defining which elements represent which widgets. Elements other than widgets must be rendered as for none.",
682
682
  "href": "https://drafts.csswg.org/css-ui-4/#valdef-appearance-auto",
683
683
  "type": "value",
684
684
  "value": "auto"
package/css-values-5.json CHANGED
@@ -451,7 +451,7 @@
451
451
  },
452
452
  {
453
453
  "name": "if()",
454
- "prose": "The if() notation is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() notation represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() notation represents an empty token stream.",
454
+ "prose": "The if() function is an arbitrary substitution function that represents conditional values. Its argument consists of an ordered semi-colon–separated list of statements, each consisting of a condition followed by a colon followed by a value. An if() function represents the value corresponding to the first condition in its argument list to be true; if no condition matches, then the if() function represents an empty token stream.",
455
455
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-if",
456
456
  "type": "function",
457
457
  "values": [
@@ -468,7 +468,13 @@
468
468
  "name": "<if()>",
469
469
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
470
470
  "type": "type",
471
- "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ;? )"
471
+ "value": "if( [ <if-branch> ; ]* <if-branch> ;? )"
472
+ },
473
+ {
474
+ "name": "<if-branch>",
475
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-branch",
476
+ "type": "type",
477
+ "value": "<if-condition> : <declaration-value>?"
472
478
  },
473
479
  {
474
480
  "name": "<if-condition>",
@@ -482,6 +488,18 @@
482
488
  "type": "type",
483
489
  "value": "supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )"
484
490
  },
491
+ {
492
+ "name": "<if-args>",
493
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-args",
494
+ "type": "type",
495
+ "value": "if( [ <if-args-branch> ; ]* <if-args-branch> ;? )"
496
+ },
497
+ {
498
+ "name": "<if-args-branch>",
499
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-if-args-branch",
500
+ "type": "type",
501
+ "value": "<declaration-value> : <declaration-value>?"
502
+ },
485
503
  {
486
504
  "name": "toggle()",
487
505
  "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
@@ -496,7 +514,7 @@
496
514
  },
497
515
  {
498
516
  "name": "inherit()",
499
- "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to the tokenized computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
517
+ "prose": "Like the inherit keyword, the inherit() functional notation resolves to the computed value of a property on the parent. Rather than resolving to the value of the same property, however, it resolves to a sequence of component values representing the computed value of the property specified as its first argument. Its second argument, if present, is used as a fallback in case the first argument resolves to the guaranteed-invalid value.",
500
518
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-inherit",
501
519
  "type": "function"
502
520
  },
@@ -506,6 +524,12 @@
506
524
  "type": "type",
507
525
  "value": "inherit( <custom-property-name>, <declaration-value>? )"
508
526
  },
527
+ {
528
+ "name": "<inherit-args>",
529
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-inherit-args",
530
+ "type": "type",
531
+ "value": "inherit( <declaration-value>, <declaration-value>? )"
532
+ },
509
533
  {
510
534
  "name": "attr()",
511
535
  "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
@@ -533,6 +557,12 @@
533
557
  "type": "type",
534
558
  "value": "type( <syntax> ) | raw-string | <attr-unit>"
535
559
  },
560
+ {
561
+ "name": "<attr-args>",
562
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-attr-args",
563
+ "type": "type",
564
+ "value": "attr( <declaration-value>, <declaration-value>? )"
565
+ },
536
566
  {
537
567
  "name": "<attr-unit>",
538
568
  "prose": "The <attr-unit> production matches any identifier that is an ASCII case-insensitive match for the name of a CSS dimension unit, such as px, or the <delim-token> %. It is not expanded literally here, as the set of units expands over time.",
@@ -557,20 +587,56 @@
557
587
  "prose": "The random() function is a math function that represents a random value between a minimum and maximum value, drawn from a uniform distribution, optionally limiting the possible values to a step between those limits:",
558
588
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-random",
559
589
  "type": "function",
560
- "value": "random( <random-caching-options>? , <calc-sum>, <calc-sum>, [by <calc-sum>]? )"
590
+ "value": "random( <random-value-sharing>? , <calc-sum>, <calc-sum>, <calc-sum>? )"
561
591
  },
562
592
  {
563
- "name": "<random-caching-options>",
564
- "href": "https://drafts.csswg.org/css-values-5/#typedef-random-caching-options",
593
+ "name": "<random-value-sharing>",
594
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-value-sharing",
565
595
  "type": "type",
566
- "value": "<dashed-ident> || per-element"
596
+ "value": "[ [ auto | <dashed-ident> ] || match-element ] | fixed <number [0,1]>",
597
+ "values": [
598
+ {
599
+ "name": "auto",
600
+ "prose": "Each random function in an element’s styles will use a distinct random base value. (But see the note below for a small wrinkle about this.) If neither auto nor <dashed-ident> are specified, it behaves as auto.",
601
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-auto",
602
+ "type": "value",
603
+ "value": "auto"
604
+ },
605
+ {
606
+ "name": "<dashed-ident>",
607
+ "prose": "Each random function in an element’s styles with the same <dashed-ident> will share the same random base value; ones with different <dashed-ident>s will use distinct random base values.",
608
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-dashed-ident",
609
+ "type": "value",
610
+ "value": "<dashed-ident>"
611
+ },
612
+ {
613
+ "name": "match-element",
614
+ "prose": "If match-element is omitted, random functions on different elements will use distinct random base values. If specified, random functions on different elements will share the same random base value if they have the same <dashed-ident> (if specified) or if they’re used in the same style in the same way (if not). (Again, see the note below for a small wrinkle about this.)",
615
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-match-element",
616
+ "type": "value",
617
+ "value": "match-element"
618
+ },
619
+ {
620
+ "name": "<number>",
621
+ "prose": "If fixed <number> is specified, the <number> is used as the random function’s random base value, rather than allowing the UA to generate a random base value and controlling how it’s shared. While 1 is technically allowed as a valid value (because CSS grammars can only express closed ranges), the random base value is clamped to the highest representable value less than 1, so random base values remain in the half-open range `[0, 1)`.",
622
+ "href": "https://drafts.csswg.org/css-values-5/#valdef-random-fixed",
623
+ "type": "value",
624
+ "value": "<number>"
625
+ }
626
+ ]
567
627
  },
568
628
  {
569
629
  "name": "random-item()",
570
630
  "prose": "The random-item() function resolves to a random item from among its list of items.",
571
631
  "href": "https://drafts.csswg.org/css-values-5/#funcdef-random-item",
572
632
  "type": "function",
573
- "value": "random-item( <random-caching-options> , [ <declaration-value>? ]# )"
633
+ "value": "random-item( <random-value-sharing> , [ <declaration-value>? ]# )"
634
+ },
635
+ {
636
+ "name": "<random-item-args>",
637
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-random-item-args",
638
+ "type": "type",
639
+ "value": "random-item( <declaration-value>, [ <declaration-value>? ]# )"
574
640
  },
575
641
  {
576
642
  "name": "sibling-count()",
@@ -153,7 +153,7 @@
153
153
  "href": "https://drafts.csswg.org/css-writing-modes-4/#propdef-text-orientation",
154
154
  "value": "mixed | upright | sideways",
155
155
  "initial": "mixed",
156
- "appliesTo": "all elements except table row groups, rows, column groups, and columns",
156
+ "appliesTo": "all elements except table row groups, rows, column groups, and columns; and text",
157
157
  "inherited": "yes",
158
158
  "percentages": "n/a",
159
159
  "computedValue": "specified value",
package/motion.json CHANGED
@@ -47,7 +47,7 @@
47
47
  },
48
48
  {
49
49
  "name": "<basic-shape>",
50
- "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the [=/reference box=] for the <basic-shape>.",
50
+ "prose": "The offset path is the equivalent path of the <basic-shape> function. For all <basic-shape>s, if they accept an at <position> argument but that argument is omitted, and the element defines an offset starting position via offset-position, it uses the specified offset starting position for that argument. Otherwise it defaults as specified for each function. The <coord-box> provides the reference box for the <basic-shape>.",
51
51
  "href": "https://drafts.fxtf.org/motion-1/#valdef-offset-path-basic-shape",
52
52
  "type": "value",
53
53
  "value": "<basic-shape>"
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.20.4",
4
+ "version": "6.20.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"