@webref/css 6.21.1 → 6.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -41,6 +41,6 @@ for (const [shortname, data] of Object.entries(parsedFiles)) {
41
41
 
42
42
  The following guarantees are provided by this package:
43
43
  - All values in CSS files can be parsed by the version of [CSSTree](https://github.com/csstree/csstree) used in `peerDependencies` in `package.json`.
44
- - No duplicate definitions of CSS properties provided that CSS extracts of [delta specs](https://github.com/w3c/browser-specs/#seriescomposition) are not taken into account (such extracts end with `-n.json`, where `n` is a level number).
44
+ - No duplicate definitions of entries in CSS files provided that CSS extracts of [delta specs](https://github.com/w3c/browser-specs/#seriescomposition) are not taken into account (such extracts end with `-n.json`, where `n` is a level number). The term "entries" includes CSS properties, at-rules, selectors, types and functions. Please note that specs may still extend entries defined elsewhere (to define new values for CSS properties, or new selectors for at-rules).
45
45
  - CSS extracts contain a base definition of all CSS properties that get extended by other CSS property definitions (those for which `newValues` is set).
46
46
  - All entries in CSS files that do not extend a base definition link back to their actual definition in the spec. In other words, all entries under `properties[]`, `properties[].values[]`, `selectors[]`, `atrules[]` and `values[]` have an `href` key that contains an absolute URL with fragment, except properties that that have a `newValues` key, at-rules that neither have a `prose` nor a `value` key, and definitions of a [delta spec](https://github.com/w3c/browser-specs/#seriescomposition) that completely override a definition in a previous level.
@@ -69,9 +69,9 @@
69
69
  ]
70
70
  },
71
71
  {
72
- "name": "animation-trigger-type",
73
- "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-type",
74
- "value": "<single-animation-trigger-type>#",
72
+ "name": "animation-trigger-behavior",
73
+ "href": "https://drafts.csswg.org/css-animations-2/#propdef-animation-trigger-behavior",
74
+ "value": "<single-animation-trigger-behavior>#",
75
75
  "initial": "once",
76
76
  "appliesTo": "all elements",
77
77
  "inherited": "no",
@@ -83,35 +83,35 @@
83
83
  {
84
84
  "name": "once",
85
85
  "prose": "The animation is triggered and played once and only once.",
86
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-once",
86
+ "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-once",
87
87
  "type": "value",
88
88
  "value": "once"
89
89
  },
90
90
  {
91
91
  "name": "repeat",
92
92
  "prose": "The animation is played from the beginning each time it is triggered. When the trigger’s active interval is exited the animation is reset.",
93
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-repeat",
93
+ "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-repeat",
94
94
  "type": "value",
95
95
  "value": "repeat"
96
96
  },
97
97
  {
98
98
  "name": "alternate",
99
99
  "prose": "The animation is played forwards, according to its playback direction, each time it is triggered. When the trigger’s active interval is exited the animation is reversed.",
100
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-alternate",
100
+ "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-alternate",
101
101
  "type": "value",
102
102
  "value": "alternate"
103
103
  },
104
104
  {
105
105
  "name": "state",
106
106
  "prose": "The animation is triggered and played once. When the trigger’s active interval is exited the animation is paused. When the trigger’s active interval is re-entered the animation is resumed.",
107
- "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-type-state",
107
+ "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-trigger-behavior-state",
108
108
  "type": "value",
109
109
  "value": "state"
110
110
  }
111
111
  ],
112
112
  "styleDeclaration": [
113
- "animation-trigger-type",
114
- "animationTriggerType"
113
+ "animation-trigger-behavior",
114
+ "animationTriggerBehavior"
115
115
  ]
116
116
  },
117
117
  {
@@ -362,16 +362,16 @@
362
362
  "type": "type"
363
363
  },
364
364
  {
365
- "name": "<single-animation-trigger-type>",
365
+ "name": "<single-animation-trigger-behavior>",
366
366
  "value": "once | repeat | alternate | state",
367
- "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger-type",
367
+ "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger-behavior",
368
368
  "type": "type"
369
369
  },
370
370
  {
371
371
  "name": "<single-animation-trigger>",
372
372
  "href": "https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger",
373
373
  "type": "type",
374
- "value": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]"
374
+ "value": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]"
375
375
  }
376
376
  ]
377
377
  }
package/css-color-5.json CHANGED
@@ -80,12 +80,6 @@
80
80
  "type": "type",
81
81
  "value": "<hex-color> | <color-function> | <named-color> | <color-mix()> | transparent"
82
82
  },
83
- {
84
- "name": "<color-function>",
85
- "href": "https://drafts.csswg.org/css-color-5/#typedef-color-function",
86
- "type": "type",
87
- "value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
88
- },
89
83
  {
90
84
  "name": "color-mix()",
91
85
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-color-mix",
@@ -371,12 +365,6 @@
371
365
  "type": "type",
372
366
  "value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
373
367
  },
374
- {
375
- "name": "<predefined-rgb>",
376
- "href": "https://drafts.csswg.org/css-color-5/#typedef-predefined-rgb",
377
- "type": "type",
378
- "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
379
- },
380
368
  {
381
369
  "name": "<xyz-params>",
382
370
  "href": "https://drafts.csswg.org/css-color-5/#typedef-xyz-params",
@@ -173,12 +173,6 @@
173
173
  "type": "function",
174
174
  "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
175
175
  },
176
- {
177
- "name": "color()",
178
- "prose": "The color() function allows a color to be specified in a particular, given color space (rather than the implicit sRGB color space that most of the other color functions operate in).",
179
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-color",
180
- "type": "function"
181
- },
182
176
  {
183
177
  "name": "<predefined-rgb>",
184
178
  "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
package/css-color.json CHANGED
@@ -1455,6 +1455,77 @@
1455
1455
  }
1456
1456
  ]
1457
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
+ },
1458
1529
  {
1459
1530
  "name": "<colorspace-params>",
1460
1531
  "href": "https://drafts.csswg.org/css-color-4/#typedef-colorspace-params",
@@ -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'>] -webkit-legacy?",
295
295
  "initial": "none",
296
296
  "appliesTo": "see individual properties",
297
297
  "inherited": "see individual properties",
@@ -309,17 +309,24 @@
309
309
  },
310
310
  {
311
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.",
312
+ "prose": "Whether this should imply discard or collapse is an unresolved question. [Issue #7708] Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also 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
313
  "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-integer-1",
314
314
  "type": "value",
315
315
  "value": "<integer [1,∞]>"
316
316
  },
317
317
  {
318
318
  "name": "<block-ellipsis>",
319
- "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.",
319
+ "prose": "Whether this should imply discard or collapse is an unresolved question. [Issue #7708] Sets continue to collapse if either or both values are specified, unless the -webkit-legacy keyword is also 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.",
320
320
  "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp-block-ellipsis",
321
321
  "type": "value",
322
322
  "value": "<block-ellipsis>"
323
+ },
324
+ {
325
+ "name": "-webkit-legacy",
326
+ "prose": "Sets continue to -webkit-legacy.",
327
+ "href": "https://drafts.csswg.org/css-overflow-4/#valdef-line-clamp--webkit-legacy",
328
+ "type": "value",
329
+ "value": "-webkit-legacy"
323
330
  }
324
331
  ],
325
332
  "styleDeclaration": [
@@ -347,7 +354,7 @@
347
354
  {
348
355
  "name": "continue",
349
356
  "href": "https://drafts.csswg.org/css-overflow-4/#propdef-continue",
350
- "value": "auto | discard | -webkit-discard",
357
+ "value": "auto | discard | collapse | -webkit-legacy",
351
358
  "initial": "auto",
352
359
  "appliesTo": "block containers and multicol containers",
353
360
  "inherited": "no",
@@ -357,11 +364,11 @@
357
364
  "animationType": "discrete",
358
365
  "values": [
359
366
  {
360
- "name": "-webkit-discard",
361
- "prose": "The -webkit-discard value behaves identically to discard, except that it only takes effect if the specified value of the display property is -webkit-box or -webkit-inline-box and the value of the -webkit-box-orient property is vertical.",
362
- "href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue--webkit-discard",
367
+ "name": "-webkit-legacy",
368
+ "prose": "The -webkit-legacy value behaves identically to collapse, except that it only takes effect if the specified value of the display property is -webkit-box or -webkit-inline-box and the value of the -webkit-box-orient property is vertical.",
369
+ "href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue--webkit-legacy",
363
370
  "type": "value",
364
- "value": "-webkit-discard"
371
+ "value": "-webkit-legacy"
365
372
  },
366
373
  {
367
374
  "name": "auto",
@@ -376,6 +383,13 @@
376
383
  "href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-discard",
377
384
  "type": "value",
378
385
  "value": "discard"
386
+ },
387
+ {
388
+ "name": "collapse",
389
+ "prose": "If the box is a block container, then it must establish an independent formatting context that also becomes a line-clamp container. This causes all content after the clamp point to be visually hidden, and to not be taken into account for the box’s automatic block size. This keyword has no effect on multicol containers.",
390
+ "href": "https://drafts.csswg.org/css-overflow-4/#valdef-continue-collapse",
391
+ "type": "value",
392
+ "value": "collapse"
379
393
  }
380
394
  ],
381
395
  "styleDeclaration": [
@@ -387,7 +401,7 @@
387
401
  "href": "https://drafts.csswg.org/css-overflow-4/#propdef-max-lines",
388
402
  "value": "none | <integer [1,∞]>",
389
403
  "initial": "none",
390
- "appliesTo": "block containers which are also fragmentation containers that capture region breaks",
404
+ "appliesTo": "block containers which are also either fragmentation containers that capture region breaks or line-clamp containers",
391
405
  "inherited": "no",
392
406
  "percentages": "N/A",
393
407
  "computedValue": "the keyword none or an integer",
@@ -396,7 +410,7 @@
396
410
  "values": [
397
411
  {
398
412
  "name": "none",
399
- "prose": "Also, if the value of max-lines is not none, a region break is forced after its Nth descendant in-flow line box, where N is the specified value of max-lines. Only lines boxes in the same Block Formatting Context are counted: the contents of descendants that establish independent formatting contexts are skipped over while counting line boxes.",
413
+ "prose": "If the value of max-lines is not none, then, given a computed value of N:",
400
414
  "href": "https://drafts.csswg.org/css-overflow-4/#valdef-max-lines-none",
401
415
  "type": "value",
402
416
  "value": "none"
@@ -4,6 +4,38 @@
4
4
  "url": "https://drafts.csswg.org/css-overflow-5/"
5
5
  },
6
6
  "properties": [
7
+ {
8
+ "name": "scroll-target-group",
9
+ "href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-target-group",
10
+ "value": "none | auto",
11
+ "initial": "none",
12
+ "appliesTo": "all elements",
13
+ "inherited": "no",
14
+ "percentages": "n/a",
15
+ "computedValue": "specified value",
16
+ "canonicalOrder": "per grammar",
17
+ "animationType": "discrete",
18
+ "values": [
19
+ {
20
+ "name": "none",
21
+ "prose": "The element does not establish a scroll marker group container.",
22
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-target-group-none",
23
+ "type": "value",
24
+ "value": "none"
25
+ },
26
+ {
27
+ "name": "auto",
28
+ "prose": "The element establishes a scroll marker group container forming a scroll marker group containing all of the scroll marker elements for which this is the nearest ancestor scroll marker group container.",
29
+ "href": "https://drafts.csswg.org/css-overflow-5/#valdef-scroll-target-group-auto",
30
+ "type": "value",
31
+ "value": "auto"
32
+ }
33
+ ],
34
+ "styleDeclaration": [
35
+ "scroll-target-group",
36
+ "scrollTargetGroup"
37
+ ]
38
+ },
7
39
  {
8
40
  "name": "scroll-marker-group",
9
41
  "href": "https://drafts.csswg.org/css-overflow-5/#propdef-scroll-marker-group",
package/css-text-4.json CHANGED
@@ -60,7 +60,7 @@
60
60
  },
61
61
  {
62
62
  "name": "math-auto",
63
- "prose": "See MathML Core § 4.2 New text-transform value.",
63
+ "prose": "See .",
64
64
  "href": "https://drafts.csswg.org/css-text-4/#valdef-text-transform-math-auto",
65
65
  "type": "value",
66
66
  "value": "math-auto"
package/css-values-5.json CHANGED
@@ -640,7 +640,7 @@
640
640
  {
641
641
  "msg": "Missing definition",
642
642
  "name": "<color-mix()>",
643
- "value": "color-mix( [ <progress> && <color-interpolation-method>? ] , <color>, <color> ) | color-mix( <color-interpolation-method>, [<color> && <percentage [0,100]>?]#{2} )"
643
+ "value": "color-mix( [ <progress> && <color-interpolation-method>? ] , <color>, <color> ) | color-mix( <color-interpolation-method>, [<color> && <percentage [0,100]>?]# )"
644
644
  },
645
645
  {
646
646
  "msg": "Missing definition",
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.21.1",
4
+ "version": "6.22.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"