@webref/css 6.11.2 → 6.12.1

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-color-5.json CHANGED
@@ -359,12 +359,6 @@
359
359
  "type": "type",
360
360
  "value": "[<custom-params> | <predefined-rgb-params> | <xyz-params>]"
361
361
  },
362
- {
363
- "name": "<custom-params>",
364
- "href": "https://drafts.csswg.org/css-color-5/#typedef-custom-params",
365
- "type": "type",
366
- "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
367
- },
368
362
  {
369
363
  "name": "<predefined-rgb-params>",
370
364
  "href": "https://drafts.csswg.org/css-color-5/#typedef-predefined-rgb-params",
@@ -383,12 +377,6 @@
383
377
  "type": "type",
384
378
  "value": "<xyz> [ <number> | <percentage> | none ]{3}"
385
379
  },
386
- {
387
- "name": "<xyz>",
388
- "href": "https://drafts.csswg.org/css-color-5/#typedef-xyz",
389
- "type": "type",
390
- "value": "xyz | xyz-d50 | xyz-d65"
391
- },
392
380
  {
393
381
  "name": "device-cmyk()",
394
382
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk",
@@ -419,6 +407,12 @@
419
407
  "type": "function",
420
408
  "value": "light-dark( <color>, <color> )"
421
409
  },
410
+ {
411
+ "name": "contrast-color()",
412
+ "href": "https://drafts.csswg.org/css-color-5/#funcdef-contrast-color",
413
+ "type": "function",
414
+ "value": "contrast-color( <color> max? )"
415
+ },
422
416
  {
423
417
  "name": "<color-space>",
424
418
  "href": "https://drafts.csswg.org/css-color-5/#typedef-color-space",
@@ -0,0 +1,117 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Color HDR Module Level 1",
4
+ "url": "https://drafts.csswg.org/css-color-hdr/"
5
+ },
6
+ "properties": [
7
+ {
8
+ "name": "dynamic-range-limit",
9
+ "href": "https://drafts.csswg.org/css-color-hdr/#propdef-dynamic-range-limit",
10
+ "value": "standard | high | constrained-high",
11
+ "initial": "high",
12
+ "appliesTo": "all elements",
13
+ "inherited": "no",
14
+ "percentages": "n/a",
15
+ "computedValue": "specified value",
16
+ "canonicalOrder": "per grammar",
17
+ "animationType": "by dynamic-range-limit-mix()",
18
+ "values": [
19
+ {
20
+ "name": "standard",
21
+ "prose": "The highest luminance color that is displayed is the same as ' media white, i.e. the CSS color white.",
22
+ "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-standard",
23
+ "type": "value",
24
+ "value": "standard"
25
+ },
26
+ {
27
+ "name": "high",
28
+ "prose": "The highest peak luminance that is displayed is much greater than media white, i.e. the CSS color white; the precise level is not specified.",
29
+ "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-high",
30
+ "type": "value",
31
+ "value": "high"
32
+ },
33
+ {
34
+ "name": "constrained-high",
35
+ "prose": "The highest peak luminance that is displayed is somewhat greater than media white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.",
36
+ "href": "https://drafts.csswg.org/css-color-hdr/#valdef-dynamic-range-limit-constrained-high",
37
+ "type": "value",
38
+ "value": "constrained-high"
39
+ }
40
+ ],
41
+ "styleDeclaration": [
42
+ "dynamic-range-limit",
43
+ "dynamicRangeLimit"
44
+ ]
45
+ }
46
+ ],
47
+ "atrules": [],
48
+ "selectors": [],
49
+ "values": [
50
+ {
51
+ "name": "dynamic-range-limit-mix()",
52
+ "href": "https://drafts.csswg.org/css-color-hdr/#funcdef-dynamic-range-limit-mix",
53
+ "type": "function",
54
+ "value": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]>? ]#{2})"
55
+ },
56
+ {
57
+ "name": "color()",
58
+ "href": "https://drafts.csswg.org/css-color-hdr/#funcdef-color",
59
+ "type": "function",
60
+ "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )"
61
+ },
62
+ {
63
+ "name": "<colorspace-params>",
64
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-colorspace-params",
65
+ "type": "type",
66
+ "value": "[<custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params>]"
67
+ },
68
+ {
69
+ "name": "<custom-params>",
70
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-custom-params",
71
+ "type": "type",
72
+ "value": "<dashed-ident> [ <number> | <percentage> | none ]+"
73
+ },
74
+ {
75
+ "name": "<predefined-rgb-params>",
76
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rgb-params",
77
+ "type": "type",
78
+ "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
79
+ },
80
+ {
81
+ "name": "<predefined-polar-params>",
82
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-polar-params",
83
+ "type": "type",
84
+ "value": "jzczhz [ <number> | <percentage> | none ]{2} [ <hue> | none]"
85
+ },
86
+ {
87
+ "name": "<predefined-rectangular-params>",
88
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rectangular-params",
89
+ "type": "type",
90
+ "value": "<predefined-rectangular> [ <number> | <percentage> | none ]{3}"
91
+ },
92
+ {
93
+ "name": "<predefined-rgb>",
94
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rgb",
95
+ "type": "type",
96
+ "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
97
+ },
98
+ {
99
+ "name": "<predefined-rectangular>",
100
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-predefined-rectangular",
101
+ "type": "type",
102
+ "value": "jzazbz | ictcp"
103
+ },
104
+ {
105
+ "name": "<xyz-params>",
106
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-xyz-params",
107
+ "type": "type",
108
+ "value": "<xyz> [ <number> | <percentage> | none ]{3}"
109
+ },
110
+ {
111
+ "name": "<xyz>",
112
+ "href": "https://drafts.csswg.org/css-color-hdr/#typedef-xyz",
113
+ "type": "type",
114
+ "value": "xyz | xyz-d50 | xyz-d65"
115
+ }
116
+ ]
117
+ }
package/css-color.json CHANGED
@@ -35,7 +35,8 @@
35
35
  "name": "<opacity-value>",
36
36
  "prose": "The opacity to be applied to the element. The resulting opacity is applied to the entire element, rather than a particular color. Opacity values outside the range [0,1] are not invalid, and are preserved in specified values, but are clamped to the range [0, 1] in computed values.",
37
37
  "href": "https://drafts.csswg.org/css-color-4/#typedef-opacity-opacity-value",
38
- "type": "type"
38
+ "type": "type",
39
+ "value": "<number> | <percentage>"
39
40
  }
40
41
  ],
41
42
  "styleDeclaration": [
@@ -1460,101 +1461,6 @@
1460
1461
  }
1461
1462
  ]
1462
1463
  },
1463
- {
1464
- "name": "color()",
1465
- "href": "https://drafts.csswg.org/css-color-4/#funcdef-color",
1466
- "type": "function",
1467
- "value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
1468
- "values": [
1469
- {
1470
- "name": "srgb",
1471
- "prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
1472
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb",
1473
- "type": "value",
1474
- "value": "srgb"
1475
- },
1476
- {
1477
- "name": "srgb-linear",
1478
- "prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function unity, see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
1479
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb-linear",
1480
- "type": "value",
1481
- "value": "srgb-linear"
1482
- },
1483
- {
1484
- "name": "display-p3",
1485
- "prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m Black luminance 0.80 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
1486
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-display-p3",
1487
- "type": "value",
1488
- "value": "display-p3"
1489
- },
1490
- {
1491
- "name": "a98-rgb",
1492
- "prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m Black luminance 0.5557 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
1493
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb",
1494
- "type": "value",
1495
- "value": "a98-rgb"
1496
- },
1497
- {
1498
- "name": "prophoto-rgb",
1499
- "prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
1500
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb",
1501
- "type": "value",
1502
- "value": "prophoto-rgb"
1503
- },
1504
- {
1505
- "name": "rec2020",
1506
- "prose": "The rec2020 [Rec.2020] color space accepts three numeric parameters, representing the red, green, and blue channels of the color. In-gamut colors have all three components in the range [0, 1], (\"full-range\", in video terminology). ITU Reference 2020 is used for Ultra High Definition, 4k and 8k television. The primaries are physically realizable, but with difficulty as they lie very close to the spectral locus. Current displays are unable to reproduce the full gamut of rec2020. Coverage is expected to increase over time as displays improve. It has the following characteristics: x y Red chromaticity 0.708 0.292 Green chromaticity 0.170 0.797 Blue chromaticity 0.131 0.046 White chromaticity D65 Transfer function see below, from [Rec.2020] table 4 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const α = 1.09929682680944 ; const β = 0.018053968510807; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < β * 4.5 ) { cl = c / 4.5; } else { cl = sign * (Math.pow((abs + α -1 ) / α, 1/0.45)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the rec2020 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. rec2020 primaries have much higher Chroma.",
1507
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-rec2020",
1508
- "type": "value",
1509
- "value": "rec2020"
1510
- },
1511
- {
1512
- "name": "xyz-d50",
1513
- "prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
1514
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d50",
1515
- "type": "value",
1516
- "value": "xyz-d50"
1517
- },
1518
- {
1519
- "name": "xyz-d65",
1520
- "prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
1521
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d65",
1522
- "type": "value",
1523
- "value": "xyz-d65"
1524
- },
1525
- {
1526
- "name": "xyz",
1527
- "prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; they represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452)",
1528
- "href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz",
1529
- "type": "value",
1530
- "value": "xyz"
1531
- }
1532
- ]
1533
- },
1534
- {
1535
- "name": "<colorspace-params>",
1536
- "href": "https://drafts.csswg.org/css-color-4/#typedef-colorspace-params",
1537
- "type": "type",
1538
- "value": "[ <predefined-rgb-params> | <xyz-params>]"
1539
- },
1540
- {
1541
- "name": "<predefined-rgb-params>",
1542
- "href": "https://drafts.csswg.org/css-color-4/#typedef-predefined-rgb-params",
1543
- "type": "type",
1544
- "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
1545
- },
1546
- {
1547
- "name": "<predefined-rgb>",
1548
- "href": "https://drafts.csswg.org/css-color-4/#typedef-predefined-rgb",
1549
- "type": "type",
1550
- "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
1551
- },
1552
- {
1553
- "name": "<xyz-params>",
1554
- "href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-params",
1555
- "type": "type",
1556
- "value": "<xyz-space> [ <number> | <percentage> | none ]{3}"
1557
- },
1558
1464
  {
1559
1465
  "name": "<xyz-space>",
1560
1466
  "href": "https://drafts.csswg.org/css-color-4/#typedef-xyz-space",
package/css-fonts-5.json CHANGED
@@ -185,7 +185,7 @@
185
185
  "name": "<font-tech>",
186
186
  "href": "https://drafts.csswg.org/css-fonts-5/#font-tech-values",
187
187
  "type": "type",
188
- "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental-patch | incremental-range | incremental-auto ]"
188
+ "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
189
189
  },
190
190
  {
191
191
  "name": "<font-features-tech>",
package/css-fonts.json CHANGED
@@ -1121,8 +1121,7 @@
1121
1121
  "name": "<palette-mix()>",
1122
1122
  "prose": "This value defines a position in the interpolation between two palette values, identified by <palette-identifier>, by the palette keywords normal, light, dark, or by another <palette-mix()> value. The glyphs of the font must be rendered with a palette that is created by interpolating for each palette color index between the matching color indices of the first and second palette specified as arguments, recursively resolving <palette-mix()> functions if needed. For each palette color, the interpolation follows the rules of the <color-mix()> function. Percentages are normalized according to CSS Color 5 § 2.1 Percentage Normalization.",
1123
1123
  "href": "https://drafts.csswg.org/css-fonts-4/#typedef-font-palette-palette-mix",
1124
- "type": "type",
1125
- "value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
1124
+ "type": "type"
1126
1125
  }
1127
1126
  ],
1128
1127
  "styleDeclaration": [
@@ -1603,7 +1602,7 @@
1603
1602
  "name": "<font-tech>",
1604
1603
  "href": "https://drafts.csswg.org/css-fonts-4/#font-tech-values",
1605
1604
  "type": "type",
1606
- "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental-patch | incremental-range | incremental-auto ]"
1605
+ "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
1607
1606
  },
1608
1607
  {
1609
1608
  "name": "<font-features-tech>",
@@ -1682,6 +1681,13 @@
1682
1681
  "href": "https://drafts.csswg.org/css-fonts-4/#typedef-opentype-tag",
1683
1682
  "type": "type",
1684
1683
  "value": "<string>"
1684
+ },
1685
+ {
1686
+ "name": "palette-mix()",
1687
+ "prose": "With the palette-mix() function defined as follows:",
1688
+ "href": "https://drafts.csswg.org/css-fonts-4/#funcdef-palette-mix",
1689
+ "type": "function",
1690
+ "value": "palette-mix(<color-interpolation-method> , [ [normal | light | dark | <palette-identifier> | <palette-mix()> ] && <percentage [0,100]>? ]#{2})"
1685
1691
  }
1686
1692
  ],
1687
1693
  "warnings": [
@@ -291,7 +291,7 @@
291
291
  {
292
292
  "name": "line-clamp",
293
293
  "href": "https://drafts.csswg.org/css-overflow-4/#propdef-line-clamp",
294
- "value": "none | <integer [1,∞]>? <'block-ellipsis'>?",
294
+ "value": "none | <integer [1,∞]> || <'block-ellipsis'>",
295
295
  "initial": "none",
296
296
  "appliesTo": "see individual properties",
297
297
  "inherited": "see individual properties",
@@ -308,11 +308,17 @@
308
308
  "value": "none"
309
309
  },
310
310
  {
311
- "name": "<integer [1,∞]> <block-ellipsis>?",
312
- "prose": "Sets max-lines to the specified <integer> or to none if omitted, continue to discard, and the block-ellipsis property to second component of the value or to auto if omitted.",
313
- "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-integer-1--block-ellipsis",
311
+ "name": "<integer [1,∞]>",
312
+ "prose": "Sets continue to discard if either or both values ares specified. Sets max-lines to the specified <integer> or to none if omitted, and block-ellipsis to other component of the value if specified or to auto if omitted.",
313
+ "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-integer-1",
314
314
  "type": "value",
315
- "value": "<integer [1,∞]> <block-ellipsis>?"
315
+ "value": "<integer [1,∞]>"
316
+ },
317
+ {
318
+ "name": "<block-ellipsis>",
319
+ "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
320
+ "type": "value",
321
+ "value": "<block-ellipsis>"
316
322
  }
317
323
  ],
318
324
  "styleDeclaration": [
package/css-shapes.json CHANGED
@@ -46,7 +46,7 @@
46
46
  {
47
47
  "name": "shape-image-threshold",
48
48
  "href": "https://drafts.csswg.org/css-shapes-1/#propdef-shape-image-threshold",
49
- "value": "<'opacity'>",
49
+ "value": "<opacity-value>",
50
50
  "initial": "0",
51
51
  "appliesTo": "floats",
52
52
  "inherited": "no",
package/css-text-4.json CHANGED
@@ -1305,7 +1305,7 @@
1305
1305
  },
1306
1306
  {
1307
1307
  "name": "space-first",
1308
- "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as trim-auto.",
1308
+ "prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as normal.",
1309
1309
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-spacing-trim-space-first",
1310
1310
  "type": "value",
1311
1311
  "value": "space-first"
package/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.11.2",
4
+ "version": "6.12.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"