@webref/css 6.23.4 → 6.23.6

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.json CHANGED
@@ -289,11 +289,6 @@
289
289
  }
290
290
  ],
291
291
  "selectors": [
292
- {
293
- "name": ":lang",
294
- "href": "https://drafts.csswg.org/css2/#selectordef-lang",
295
- "value": ":lang"
296
- },
297
292
  {
298
293
  "name": ":first-line",
299
294
  "href": "https://drafts.csswg.org/css2/#selectordef-first-line",
package/css-align.json CHANGED
@@ -488,12 +488,26 @@
488
488
  "type": "value",
489
489
  "value": "first baseline"
490
490
  },
491
+ {
492
+ "name": "first",
493
+ "prose": "Specifies participation in first-baseline alignment: aligns the alignment baseline of the box’s first baseline set with the corresponding baseline of its baseline-sharing group. See § 9.3 Aligning Boxes by Baseline for more details. The fallback alignment for first baseline is safe self-start (for self-alignment) or safe start (for content-distribution).",
494
+ "href": "https://drafts.csswg.org/css-align-3/#valdef-justify-self-first-baseline",
495
+ "type": "value",
496
+ "value": "first"
497
+ },
491
498
  {
492
499
  "name": "last baseline",
493
500
  "prose": "Specifies participation in last-baseline alignment: aligns the alignment baseline of the box’s last baseline set with the corresponding baseline of its baseline-sharing group.̣ See § 9.3 Aligning Boxes by Baseline for more details. The fallback alignment for last baseline is safe self-end (for self-alignment) or safe end (for content-distribution).",
494
501
  "href": "https://drafts.csswg.org/css-align-3/#valdef-justify-self-last-baseline",
495
502
  "type": "value",
496
503
  "value": "last baseline"
504
+ },
505
+ {
506
+ "name": "last",
507
+ "prose": "Specifies participation in last-baseline alignment: aligns the alignment baseline of the box’s last baseline set with the corresponding baseline of its baseline-sharing group.̣ See § 9.3 Aligning Boxes by Baseline for more details. The fallback alignment for last baseline is safe self-end (for self-alignment) or safe end (for content-distribution).",
508
+ "href": "https://drafts.csswg.org/css-align-3/#valdef-justify-self-last-baseline",
509
+ "type": "value",
510
+ "value": "last"
497
511
  }
498
512
  ]
499
513
  },
package/css-borders.json CHANGED
@@ -1628,9 +1628,9 @@
1628
1628
  },
1629
1629
  {
1630
1630
  "name": "superellipse()",
1631
+ "value": "superellipse(<number [-∞,∞]> | infinity | -infinity)",
1631
1632
  "href": "https://drafts.csswg.org/css-borders-4/#funcdef-superellipse",
1632
- "type": "function",
1633
- "value": "superellipse(<number [-∞,∞]> | infinity | -infinity)"
1633
+ "type": "function"
1634
1634
  },
1635
1635
  {
1636
1636
  "name": "<spread-shadow>",
package/css-color-5.json CHANGED
@@ -82,9 +82,9 @@
82
82
  },
83
83
  {
84
84
  "name": "color-mix()",
85
+ "value": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#)",
85
86
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-color-mix",
86
- "type": "function",
87
- "value": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]#)"
87
+ "type": "function"
88
88
  },
89
89
  {
90
90
  "name": "<modern-rgb-syntax>",
@@ -112,9 +112,9 @@
112
112
  },
113
113
  {
114
114
  "name": "hwb()",
115
+ "value": "hwb([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
115
116
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-hwb",
116
117
  "type": "function",
117
- "value": "hwb([from <color>]? [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
118
118
  "values": [
119
119
  {
120
120
  "name": "h",
@@ -148,9 +148,9 @@
148
148
  },
149
149
  {
150
150
  "name": "lab()",
151
+ "value": "lab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
151
152
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-lab",
152
153
  "type": "function",
153
- "value": "lab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
154
154
  "values": [
155
155
  {
156
156
  "name": "l",
@@ -184,9 +184,9 @@
184
184
  },
185
185
  {
186
186
  "name": "oklab()",
187
+ "value": "oklab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
187
188
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-oklab",
188
189
  "type": "function",
189
- "value": "oklab([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
190
190
  "values": [
191
191
  {
192
192
  "name": "l",
@@ -220,9 +220,9 @@
220
220
  },
221
221
  {
222
222
  "name": "lch()",
223
+ "value": "lch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
223
224
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-lch",
224
225
  "type": "function",
225
- "value": "lch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
226
226
  "values": [
227
227
  {
228
228
  "name": "l",
@@ -256,9 +256,9 @@
256
256
  },
257
257
  {
258
258
  "name": "oklch()",
259
+ "value": "oklch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
259
260
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-oklch",
260
261
  "type": "function",
261
- "value": "oklch([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
262
262
  "values": [
263
263
  {
264
264
  "name": "l",
@@ -292,9 +292,9 @@
292
292
  },
293
293
  {
294
294
  "name": "color()",
295
+ "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
295
296
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-color",
296
297
  "type": "function",
297
- "value": "color( [from <color>]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
298
298
  "values": [
299
299
  {
300
300
  "name": "r",
@@ -373,9 +373,9 @@
373
373
  },
374
374
  {
375
375
  "name": "device-cmyk()",
376
+ "value": "<legacy-device-cmyk-syntax> | <modern-device-cmyk-syntax>",
376
377
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-device-cmyk",
377
- "type": "function",
378
- "value": "<legacy-device-cmyk-syntax> | <modern-device-cmyk-syntax>"
378
+ "type": "function"
379
379
  },
380
380
  {
381
381
  "name": "<legacy-device-cmyk-syntax>",
@@ -397,15 +397,15 @@
397
397
  },
398
398
  {
399
399
  "name": "light-dark()",
400
+ "value": "light-dark( <color>, <color> )",
400
401
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-light-dark",
401
- "type": "function",
402
- "value": "light-dark( <color>, <color> )"
402
+ "type": "function"
403
403
  },
404
404
  {
405
405
  "name": "contrast-color()",
406
+ "value": "contrast-color( <color> )",
406
407
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-contrast-color",
407
- "type": "function",
408
- "value": "contrast-color( <color> )"
408
+ "type": "function"
409
409
  },
410
410
  {
411
411
  "name": "<color-space>",
@@ -49,9 +49,9 @@
49
49
  "values": [
50
50
  {
51
51
  "name": "dynamic-range-limit-mix()",
52
+ "value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )",
52
53
  "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-dynamic-range-limit-mix",
53
- "type": "function",
54
- "value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )"
54
+ "type": "function"
55
55
  },
56
56
  {
57
57
  "name": "<color-function>",
@@ -61,9 +61,9 @@
61
61
  },
62
62
  {
63
63
  "name": "ictcp()",
64
+ "value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
64
65
  "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-ictcp",
65
66
  "type": "function",
66
- "value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
67
67
  "values": [
68
68
  {
69
69
  "name": "i",
@@ -97,9 +97,9 @@
97
97
  },
98
98
  {
99
99
  "name": "jzazbz()",
100
+ "value": "jzazbz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
100
101
  "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzazbz",
101
102
  "type": "function",
102
- "value": "jzazbz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
103
103
  "values": [
104
104
  {
105
105
  "name": "j",
@@ -133,9 +133,9 @@
133
133
  },
134
134
  {
135
135
  "name": "jzczhz()",
136
+ "value": "jzczhz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
136
137
  "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzczhz",
137
138
  "type": "function",
138
- "value": "jzczhz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
139
139
  "values": [
140
140
  {
141
141
  "name": "j",
@@ -169,9 +169,9 @@
169
169
  },
170
170
  {
171
171
  "name": "hdr-color()",
172
+ "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})",
172
173
  "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-hdr-color",
173
- "type": "function",
174
- "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
174
+ "type": "function"
175
175
  },
176
176
  {
177
177
  "name": "<predefined-rgb>",
package/css-color.json CHANGED
@@ -258,15 +258,15 @@
258
258
  },
259
259
  {
260
260
  "name": "rgb()",
261
+ "value": "[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]",
261
262
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-rgb",
262
- "type": "function",
263
- "value": "[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]"
263
+ "type": "function"
264
264
  },
265
265
  {
266
266
  "name": "rgba()",
267
+ "value": "[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]",
267
268
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-rgba",
268
- "type": "function",
269
- "value": "[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]"
269
+ "type": "function"
270
270
  },
271
271
  {
272
272
  "name": "<legacy-rgb-syntax>",
@@ -1337,9 +1337,9 @@
1337
1337
  },
1338
1338
  {
1339
1339
  "name": "hsl()",
1340
+ "value": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]",
1340
1341
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-hsl",
1341
1342
  "type": "function",
1342
- "value": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]",
1343
1343
  "values": [
1344
1344
  {
1345
1345
  "name": "HSL",
@@ -1352,9 +1352,9 @@
1352
1352
  },
1353
1353
  {
1354
1354
  "name": "hsla()",
1355
+ "value": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]",
1355
1356
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-hsla",
1356
- "type": "function",
1357
- "value": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]"
1357
+ "type": "function"
1358
1358
  },
1359
1359
  {
1360
1360
  "name": "<modern-hsl-syntax>",
@@ -1382,9 +1382,9 @@
1382
1382
  },
1383
1383
  {
1384
1384
  "name": "hwb()",
1385
+ "value": "hwb( [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1385
1386
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-hwb",
1386
1387
  "type": "function",
1387
- "value": "hwb( [<hue> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1388
1388
  "values": [
1389
1389
  {
1390
1390
  "name": "HWB",
@@ -1397,9 +1397,9 @@
1397
1397
  },
1398
1398
  {
1399
1399
  "name": "lab()",
1400
+ "value": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1400
1401
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-lab",
1401
1402
  "type": "function",
1402
- "value": "lab( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1403
1403
  "values": [
1404
1404
  {
1405
1405
  "name": "Lab",
@@ -1412,9 +1412,9 @@
1412
1412
  },
1413
1413
  {
1414
1414
  "name": "lch()",
1415
+ "value": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
1415
1416
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-lch",
1416
1417
  "type": "function",
1417
- "value": "lch( [<percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
1418
1418
  "values": [
1419
1419
  {
1420
1420
  "name": "LCH",
@@ -1427,9 +1427,9 @@
1427
1427
  },
1428
1428
  {
1429
1429
  "name": "oklab()",
1430
+ "value": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1430
1431
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-oklab",
1431
1432
  "type": "function",
1432
- "value": "oklab( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
1433
1433
  "values": [
1434
1434
  {
1435
1435
  "name": "Oklab",
@@ -1442,9 +1442,9 @@
1442
1442
  },
1443
1443
  {
1444
1444
  "name": "oklch()",
1445
+ "value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
1445
1446
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-oklch",
1446
1447
  "type": "function",
1447
- "value": "oklch( [ <percentage> | <number> | none] [ <percentage> | <number> | none] [ <hue> | none] [ / [<alpha-value> | none] ]? )",
1448
1448
  "values": [
1449
1449
  {
1450
1450
  "name": "OkLCh",
@@ -1457,9 +1457,9 @@
1457
1457
  },
1458
1458
  {
1459
1459
  "name": "color()",
1460
+ "value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
1460
1461
  "href": "https://drafts.csswg.org/css-color-4/#funcdef-color",
1461
1462
  "type": "function",
1462
- "value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
1463
1463
  "values": [
1464
1464
  {
1465
1465
  "name": "srgb",
@@ -425,15 +425,15 @@
425
425
  },
426
426
  {
427
427
  "name": "media()",
428
+ "value": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
428
429
  "href": "https://drafts.csswg.org/css-conditional-5/#funcdef-media",
429
- "type": "function",
430
- "value": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"
430
+ "type": "function"
431
431
  },
432
432
  {
433
433
  "name": "supports()",
434
+ "value": "supports( <declaration> )",
434
435
  "href": "https://drafts.csswg.org/css-conditional-5/#funcdef-supports",
435
- "type": "function",
436
- "value": "supports( <declaration> )"
436
+ "type": "function"
437
437
  },
438
438
  {
439
439
  "name": "<container-condition>",
package/css-content.json CHANGED
@@ -319,9 +319,9 @@
319
319
  },
320
320
  {
321
321
  "name": "leader()",
322
+ "value": "leader( <leader-type> )",
322
323
  "href": "https://drafts.csswg.org/css-content-3/#funcdef-leader",
323
324
  "type": "function",
324
- "value": "leader( <leader-type> )",
325
325
  "values": [
326
326
  {
327
327
  "name": "dotted",
@@ -367,27 +367,27 @@
367
367
  },
368
368
  {
369
369
  "name": "target-counter()",
370
+ "value": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )",
370
371
  "href": "https://drafts.csswg.org/css-content-3/#funcdef-target-counter",
371
- "type": "function",
372
- "value": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"
372
+ "type": "function"
373
373
  },
374
374
  {
375
375
  "name": "target-counters()",
376
+ "value": "target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )",
376
377
  "href": "https://drafts.csswg.org/css-content-3/#funcdef-target-counters",
377
- "type": "function",
378
- "value": "target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"
378
+ "type": "function"
379
379
  },
380
380
  {
381
381
  "name": "target-text()",
382
+ "value": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )",
382
383
  "href": "https://drafts.csswg.org/css-content-3/#target-text-function",
383
- "type": "function",
384
- "value": "target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"
384
+ "type": "function"
385
385
  },
386
386
  {
387
387
  "name": "string()",
388
+ "value": "string( <custom-ident> , [ first | start | last | first-except ]? )",
388
389
  "href": "https://drafts.csswg.org/css-content-3/#funcdef-string",
389
390
  "type": "function",
390
- "value": "string( <custom-ident> , [ first | start | last | first-except ]? )",
391
391
  "values": [
392
392
  {
393
393
  "name": "first",
@@ -421,9 +421,9 @@
421
421
  },
422
422
  {
423
423
  "name": "content()",
424
+ "value": "content( [ text | before | after | first-letter | marker ]? )",
424
425
  "href": "https://drafts.csswg.org/css-content-3/#funcdef-content",
425
426
  "type": "function",
426
- "value": "content( [ text | before | after | first-letter | marker ]? )",
427
427
  "values": [
428
428
  {
429
429
  "name": "text",
@@ -556,9 +556,9 @@
556
556
  },
557
557
  {
558
558
  "name": "symbols()",
559
+ "value": "symbols( <symbols-type>? [ <string> | <image> ]+ )",
559
560
  "href": "https://drafts.csswg.org/css-counter-styles-3/#funcdef-symbols",
560
- "type": "function",
561
- "value": "symbols( <symbols-type>? [ <string> | <image> ]+ )"
561
+ "type": "function"
562
562
  },
563
563
  {
564
564
  "name": "<symbols-type>",
package/css-easing.json CHANGED
@@ -21,9 +21,9 @@
21
21
  },
22
22
  {
23
23
  "name": "linear()",
24
+ "value": "linear( [ <number> && <percentage>{0,2} ]# )",
24
25
  "href": "https://drafts.csswg.org/css-easing-2/#funcdef-linear",
25
- "type": "function",
26
- "value": "linear( [ <number> && <percentage>{0,2} ]# )"
26
+ "type": "function"
27
27
  },
28
28
  {
29
29
  "name": "<cubic-bezier-easing-function>",
@@ -63,9 +63,9 @@
63
63
  },
64
64
  {
65
65
  "name": "cubic-bezier()",
66
+ "value": "cubic-bezier( [ <number [0,1]>, <number> ]#{2} )",
66
67
  "href": "https://drafts.csswg.org/css-easing-2/#funcdef-cubic-bezier",
67
- "type": "function",
68
- "value": "cubic-bezier( [ <number [0,1]>, <number> ]#{2} )"
68
+ "type": "function"
69
69
  },
70
70
  {
71
71
  "name": "<step-easing-function>",
@@ -75,9 +75,9 @@
75
75
  },
76
76
  {
77
77
  "name": "steps()",
78
+ "value": "steps( <integer>, <step-position>?)",
78
79
  "href": "https://drafts.csswg.org/css-easing-2/#funcdef-steps",
79
80
  "type": "function",
80
- "value": "steps( <integer>, <step-position>?)",
81
81
  "values": [
82
82
  {
83
83
  "name": "step-start",
package/css-env.json CHANGED
@@ -9,9 +9,9 @@
9
9
  "values": [
10
10
  {
11
11
  "name": "env()",
12
+ "value": "env( <custom-ident> <integer [0,∞]>*, <declaration-value>? )",
12
13
  "href": "https://drafts.csswg.org/css-env-1/#funcdef-env",
13
14
  "type": "function",
14
- "value": "env( <custom-ident> <integer [0,∞]>*, <declaration-value>? )",
15
15
  "values": [
16
16
  {
17
17
  "name": "safe-area-inset-top",
package/css-gcpm.json CHANGED
@@ -117,8 +117,8 @@
117
117
  "selectors": [
118
118
  {
119
119
  "name": ":nth()",
120
- "href": "https://drafts.csswg.org/css-gcpm-3/#selectordef-nth",
121
- "value": ":nth( An+B [of <custom-ident>]? )"
120
+ "value": ":nth( An+B [of <custom-ident>]? )",
121
+ "href": "https://drafts.csswg.org/css-gcpm-3/#selectordef-nth"
122
122
  }
123
123
  ],
124
124
  "values": [
@@ -130,9 +130,9 @@
130
130
  },
131
131
  {
132
132
  "name": "running()",
133
+ "value": "running( <custom-ident> )",
133
134
  "href": "https://drafts.csswg.org/css-gcpm-3/#funcdef-running",
134
- "type": "function",
135
- "value": "running( <custom-ident> )"
135
+ "type": "function"
136
136
  }
137
137
  ]
138
138
  }
package/css-grid.json CHANGED
@@ -797,6 +797,13 @@
797
797
  "href": "https://drafts.csswg.org/css-grid-2/#valdef-flex-fr",
798
798
  "type": "value",
799
799
  "value": "fr"
800
+ },
801
+ {
802
+ "name": "fr unit",
803
+ "prose": "A flexible length or <flex> is a dimension with the fr unit, which represents a fraction of the leftover space in the grid container. Tracks sized with fr units are called flexible tracks as they flex in response to leftover space similar to how flex items with a zero base size fill space in a flex container.",
804
+ "href": "https://drafts.csswg.org/css-grid-2/#valdef-flex-fr",
805
+ "type": "value",
806
+ "value": "fr unit"
800
807
  }
801
808
  ]
802
809
  }
package/css-images-4.json CHANGED
@@ -129,9 +129,9 @@
129
129
  },
130
130
  {
131
131
  "name": "image()",
132
+ "value": "image( <image-tags>? [ <image-src>? , <color>? ]! )",
132
133
  "href": "https://drafts.csswg.org/css-images-4/#funcdef-image",
133
- "type": "function",
134
- "value": "image( <image-tags>? [ <image-src>? , <color>? ]! )"
134
+ "type": "function"
135
135
  },
136
136
  {
137
137
  "name": "<image-tags>",
@@ -147,9 +147,9 @@
147
147
  },
148
148
  {
149
149
  "name": "cross-fade()",
150
+ "value": "cross-fade( <cf-image># )",
150
151
  "href": "https://drafts.csswg.org/css-images-4/#funcdef-cross-fade",
151
- "type": "function",
152
- "value": "cross-fade( <cf-image># )"
152
+ "type": "function"
153
153
  },
154
154
  {
155
155
  "name": "<cf-image>",
@@ -159,9 +159,9 @@
159
159
  },
160
160
  {
161
161
  "name": "element()",
162
+ "value": "element( <id-selector> )",
162
163
  "href": "https://drafts.csswg.org/css-images-4/#funcdef-element",
163
- "type": "function",
164
- "value": "element( <id-selector> )"
164
+ "type": "function"
165
165
  },
166
166
  {
167
167
  "name": "<gradient>",
@@ -189,9 +189,9 @@
189
189
  },
190
190
  {
191
191
  "name": "conic-gradient()",
192
+ "value": "conic-gradient( [ <conic-gradient-syntax> ] )",
192
193
  "href": "https://drafts.csswg.org/css-images-4/#funcdef-conic-gradient",
193
194
  "type": "function",
194
- "value": "conic-gradient( [ <conic-gradient-syntax> ] )",
195
195
  "values": [
196
196
  {
197
197
  "name": "<angle> | <zero>",
@@ -11,7 +11,6 @@
11
11
  {
12
12
  "msg": "Dangling value",
13
13
  "name": "layout()",
14
- "prose": "This value causes an element to generate a layout API container box.",
15
14
  "href": "https://drafts.css-houdini.org/css-layout-api-1/#valdef-display-layout",
16
15
  "type": "value",
17
16
  "value": "layout()",
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "name": "link-parameters",
9
9
  "href": "https://drafts.csswg.org/css-link-params-1/#propdef-link-parameters",
10
- "value": "none | <link-param>+",
10
+ "value": "none | <param()>#",
11
11
  "initial": "none",
12
12
  "appliesTo": "all elements and pseudo-elements",
13
13
  "inherited": "no",
@@ -25,10 +25,11 @@
25
25
  "selectors": [],
26
26
  "values": [
27
27
  {
28
- "name": "<link-param>",
29
- "href": "https://drafts.csswg.org/css-link-params-1/#typedef-link-param",
30
- "type": "type",
31
- "value": "param( <custom-property-name> <declaration-value>? )"
28
+ "name": "param()",
29
+ "prose": "The param() function specifies a link parameter, with a key of the <dashed-ident>, and a value of the <declaration-value>?. (If the <declaration-value> is omitted, it represents an empty value.) It has the syntax:",
30
+ "href": "https://drafts.csswg.org/css-link-params-1/#funcdef-param",
31
+ "type": "function",
32
+ "value": "param( <dashed-ident> , <declaration-value>? )"
32
33
  }
33
34
  ]
34
35
  }
package/css-mixins.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "spec": {
3
- "title": "CSS Functions and Mixins Module",
3
+ "title": "CSS Custom Functions and Mixins Module Level 1",
4
4
  "url": "https://drafts.csswg.org/css-mixins-1/"
5
5
  },
6
6
  "properties": [],
@@ -49,7 +49,7 @@
49
49
  "name": "@env",
50
50
  "href": "https://drafts.csswg.org/css-mixins-1/#at-ruledef-env",
51
51
  "descriptors": [],
52
- "value": "@env <custom-property-name> : <declaration-value>? ;"
52
+ "value": "@env <custom-property-name> <css-type>? : <declaration-value>? ;"
53
53
  }
54
54
  ],
55
55
  "selectors": [],
@@ -120,9 +120,9 @@
120
120
  },
121
121
  {
122
122
  "name": "snap-block()",
123
- "value": "snap-block( <length> , [ start | end | near ]? )",
124
123
  "href": "https://drafts.csswg.org/css-page-floats-3/#funcdef-float-snap-block",
125
- "type": "function"
124
+ "type": "function",
125
+ "value": "snap-block( <length> , [ start | end | near ]? )"
126
126
  },
127
127
  {
128
128
  "name": "snap-block",
@@ -133,9 +133,9 @@
133
133
  },
134
134
  {
135
135
  "name": "snap-inline()",
136
- "value": "snap-inline( <length> , [ left | right | near ]? )",
137
136
  "href": "https://drafts.csswg.org/css-page-floats-3/#funcdef-float-snap-inline",
138
- "type": "function"
137
+ "type": "function",
138
+ "value": "snap-inline( <length> , [ left | right | near ]? )"
139
139
  },
140
140
  {
141
141
  "name": "snap-inline",
@@ -9,9 +9,9 @@
9
9
  "values": [
10
10
  {
11
11
  "name": "paint()",
12
+ "value": "paint( <ident>, <declaration-value>? )",
12
13
  "href": "https://drafts.css-houdini.org/css-paint-api-1/#funcdef-paint",
13
- "type": "function",
14
- "value": "paint( <ident>, <declaration-value>? )"
14
+ "type": "function"
15
15
  }
16
16
  ]
17
17
  }
package/css-shapes.json CHANGED
@@ -105,56 +105,48 @@
105
105
  "values": [
106
106
  {
107
107
  "name": "inset()",
108
- "prose": "Defines an inset rectangle via insets from each edge of the reference box. If less than four <length-percentage> values are provided, the omitted values default in the same way as the margin shorthand: an omitted second or third value defaults to the first, and an omitted fourth value defaults to the second. The four <length-percentage>s define the position of the top, right, bottom, and left edges of a rectangle, respectively, as insets from the corresponding edges of the reference box. A pair of insets in either dimension that add up to more than the used dimension (such as left and right insets of 75% apiece) use the CSS Backgrounds 3 § 4.5 Overlapping Curves rules to proportionally reduce the inset effect to 100%. For example, specifying inset(75% 0 50% 0) has the top+bottom edges summing to 125% of the reference box’s height. They’re proportionally reduced to sum to 100%, identical to specifying inset(60% 0 40% 0). The optional <'border-radius'> argument(s) define rounded corners for the rectangle using the border-radius shorthand syntax.",
109
108
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-inset",
110
109
  "type": "function",
111
110
  "value": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
112
111
  },
113
112
  {
114
113
  "name": "xywh()",
115
- "prose": "Defines a rectangle via offsets from the top and left edge of the reference box, and a specified width and height. The four <length-percentage>s define, respectively, the inset from the left edge of the reference box, the inset from the top edge of the reference box, the width of the rectangle, and the height of the rectangle. The optional <'border-radius'> argument(s) define rounded corners for the inset rectangle using the border-radius shorthand syntax.",
116
114
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-xywh",
117
115
  "type": "function",
118
116
  "value": "xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? )"
119
117
  },
120
118
  {
121
119
  "name": "rect()",
122
- "prose": "Defines a rectangle via insets from the top and left edges of the reference box. The four <length-percentage>s define the position of the top, right, bottom, and left edges of a rectangle, respectively, as insets from the top edge of the reference box (for the first and third values) or the left edge of the reference box (for the second and fourth values). An auto value makes the edge of the box coincide with the corresponding edge of the reference box: it’s equivalent to 0% as the first (top) or fourth (left) value, and equivalent to 100% as the second (right) or third (bottom) value. The second (right) and third (bottom) values are floored by the fourth (left) and second (top) values, respectively. For example, specifying rect(10px 0 0 20px) would place the bottom edge higher than the top edge, and the right edge further left than the left edge, so both are corrected to not cross over the other edge, identical to specifying rect(10px 20px 10px 20px). The optional <'border-radius'> argument(s) define rounded corners for the rectangle using the border-radius shorthand syntax.)",
123
120
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect",
124
121
  "type": "function",
125
122
  "value": "rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? )"
126
123
  },
127
124
  {
128
125
  "name": "circle()",
129
- "prose": "The <radial-size> argument defines the circle’s radius. Rather than referring to the gradient box, values are resolved against the reference box. Two <length-percentage> values are invalid. The <position> argument defines the center of the circle. Unless otherwise specified, this defaults to center if omitted.",
130
126
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-circle",
131
127
  "type": "function",
132
128
  "value": "circle( <radial-size>? [ at <position> ]? )"
133
129
  },
134
130
  {
135
131
  "name": "ellipse()",
136
- "prose": "The <radial-size> argument defines the horizontal and vertical radiuses of the ellipse. Rather than referring to the gradient box, values are resolved against the reference box. The <position> argument defines the center of the ellipse. Unless otherwise specified, this defaults to center if omitted.",
137
132
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-ellipse",
138
133
  "type": "function",
139
134
  "value": "ellipse( <radial-size>? [ at <position> ]? )"
140
135
  },
141
136
  {
142
137
  "name": "polygon()",
143
- "prose": "The <'fill-rule'> specifies the filling rule used to determine the interior. Defaults to nonzero if omitted. An optional <length> after a round keyword defines rounding for each vertex of the polygon. The length is the radius of a circle whose center lies on the bisector of the smaller angle of the vertex, and that is tangential to both sides of the vertex. Rounding polygon vertices that are both convex and concave. To avoid rounding more than half of any line segment, the rounding of each vertex must be clamped separately such that the radius is never more than the smaller of tan(angle/2) segment / 2 evaluated against both vertex line segments. This diagram shows the intent of the clamping formula. Each <length-percentage> pair specifies a vertex of the polygon, as a horizontal and vertical offset from the left and top edges of the reference box. The UA must close a polygon by connecting the last vertex with the first vertex of the list.",
144
138
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-polygon",
145
139
  "type": "function",
146
140
  "value": "polygon( <'fill-rule'>? [ round <length> ]? , [<length-percentage> <length-percentage>]# )"
147
141
  },
148
142
  {
149
143
  "name": "path()",
150
- "prose": "The <'fill-rule'> specifies the filling rule used to determine the interior. Defaults to nonzero if omitted, unless the function is being used in a context such as SVG shapes where the fill-rule property is relevant. In that case an omitted value will use the computed value of the fill-rule property. The <string> represents an SVG Path data string. A path data string that does not conform to the to the grammar and parsing rules of SVG 1.1, or that does conform but defines an empty path, is invalid and causes the entire path() to be invalid. The initial position is defined by the first “move to” argument in the path string. For the initial direction follow SVG 1.1. The UA must close a path with an implicit closepath command (\"z\" or \"Z\") if it is not present in the string for properties that require a closed loop (such as shape-outside and clip-path).",
151
144
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-path",
152
145
  "type": "function",
153
146
  "value": "path( <'fill-rule'>? , <string> )"
154
147
  },
155
148
  {
156
149
  "name": "shape()",
157
- "prose": "See The shape() function.",
158
150
  "href": "https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-shape",
159
151
  "type": "function",
160
152
  "value": "shape( <'fill-rule'>? from <position> , <shape-command># )",
package/css-sizing.json CHANGED
@@ -53,7 +53,6 @@
53
53
  },
54
54
  {
55
55
  "name": "calc-size()",
56
- "prose": "See <calc-size()>.",
57
56
  "href": "https://drafts.csswg.org/css-sizing-3/#funcdef-width-calc-size",
58
57
  "type": "function"
59
58
  }
@@ -111,7 +110,6 @@
111
110
  },
112
111
  {
113
112
  "name": "calc-size()",
114
- "prose": "See <calc-size()>.",
115
113
  "href": "https://drafts.csswg.org/css-sizing-3/#funcdef-width-calc-size",
116
114
  "type": "function"
117
115
  }
@@ -169,7 +167,6 @@
169
167
  },
170
168
  {
171
169
  "name": "calc-size()",
172
- "prose": "See <calc-size()>.",
173
170
  "href": "https://drafts.csswg.org/css-sizing-3/#funcdef-width-calc-size",
174
171
  "type": "function"
175
172
  }
@@ -228,7 +225,6 @@
228
225
  },
229
226
  {
230
227
  "name": "calc-size()",
231
- "prose": "See <calc-size()>.",
232
228
  "href": "https://drafts.csswg.org/css-sizing-3/#funcdef-width-calc-size",
233
229
  "type": "function"
234
230
  }
@@ -287,7 +283,6 @@
287
283
  },
288
284
  {
289
285
  "name": "calc-size()",
290
- "prose": "See <calc-size()>.",
291
286
  "href": "https://drafts.csswg.org/css-sizing-3/#funcdef-width-calc-size",
292
287
  "type": "function"
293
288
  }
@@ -346,7 +341,6 @@
346
341
  },
347
342
  {
348
343
  "name": "calc-size()",
349
- "prose": "See <calc-size()>.",
350
344
  "href": "https://drafts.csswg.org/css-sizing-3/#funcdef-width-calc-size",
351
345
  "type": "function"
352
346
  }
package/css-ui.json CHANGED
@@ -725,7 +725,7 @@
725
725
  {
726
726
  "name": "interest-delay",
727
727
  "href": "https://drafts.csswg.org/css-ui-4/#propdef-interest-delay",
728
- "value": "<'interest-delay-start'>",
728
+ "value": "<'interest-delay-start'>{1,2}",
729
729
  "initial": "see individual properties",
730
730
  "appliesTo": "see individual properties",
731
731
  "inherited": "see individual properties",
package/css-values-5.json CHANGED
@@ -44,7 +44,8 @@
44
44
  "name": "<boolean-expr>",
45
45
  "prose": "Several contexts (such as @media, @supports, if(), ...) specify conditions, and allow combining those conditions with boolean logic (and/or/not/grouping). Because they use the same non-trivial recursive syntax structure, the special <boolean-expr> production represents this pattern generically.",
46
46
  "href": "https://drafts.csswg.org/css-values-5/#typedef-boolean-expr",
47
- "type": "type"
47
+ "type": "type",
48
+ "value": "not <boolean-expr-group> | <boolean-expr-group> [ [ and <boolean-expr-group> ]* | [ or <boolean-expr-group> ]* ]"
48
49
  },
49
50
  {
50
51
  "name": "<syntax>",
@@ -93,30 +94,30 @@
93
94
  "prose": "<request-url-modifier>s are <url-modifier>s that affect the <url>’s resource request by applying associated URL request modifier steps. See CSS Values 4 § 4.5.4 URL Processing Model.",
94
95
  "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier",
95
96
  "type": "type",
96
- "value": "<crossorigin-modifier> | <integrity-modifier> | <referrerpolicy-modifier>",
97
+ "value": "<cross-origin-modifier> | <integrity-modifier> | <referrer-policy-modifier>",
97
98
  "values": [
98
99
  {
99
- "name": "<crossorigin-modifier>",
100
- "value": "crossorigin(anonymous | use-credentials)",
101
- "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-crossorigin-modifier",
100
+ "name": "<cross-origin-modifier>",
101
+ "value": "cross-origin(anonymous | use-credentials)",
102
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-cross-origin-modifier",
102
103
  "type": "type"
103
104
  },
104
105
  {
105
- "name": "crossorigin()",
106
- "prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
107
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-crossorigin",
106
+ "name": "cross-origin()",
107
+ "prose": "<cross-origin-modifier> = cross-origin(anonymous | use-credentials)",
108
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-cross-origin",
108
109
  "type": "function"
109
110
  },
110
111
  {
111
112
  "name": "anonymous",
112
- "prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
113
+ "prose": "<cross-origin-modifier> = cross-origin(anonymous | use-credentials)",
113
114
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-anonymous",
114
115
  "type": "value",
115
116
  "value": "anonymous"
116
117
  },
117
118
  {
118
119
  "name": "use-credentials",
119
- "prose": "<crossorigin-modifier> = crossorigin(anonymous | use-credentials)",
120
+ "prose": "<cross-origin-modifier> = cross-origin(anonymous | use-credentials)",
120
121
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-use-credentials",
121
122
  "type": "value",
122
123
  "value": "use-credentials"
@@ -134,69 +135,69 @@
134
135
  "type": "function"
135
136
  },
136
137
  {
137
- "name": "<referrerpolicy-modifier>",
138
- "value": "referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
139
- "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-referrerpolicy-modifier",
138
+ "name": "<referrer-policy-modifier>",
139
+ "value": "referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
140
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-referrer-policy-modifier",
140
141
  "type": "type"
141
142
  },
142
143
  {
143
- "name": "referrerpolicy()",
144
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
145
- "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-referrerpolicy",
144
+ "name": "referrer-policy()",
145
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
146
+ "href": "https://drafts.csswg.org/css-values-5/#funcdef-request-url-modifier-referrer-policy",
146
147
  "type": "function"
147
148
  },
148
149
  {
149
150
  "name": "no-referrer",
150
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
151
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
151
152
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-no-referrer",
152
153
  "type": "value",
153
154
  "value": "no-referrer"
154
155
  },
155
156
  {
156
157
  "name": "no-referrer-when-downgrade",
157
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
158
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
158
159
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-no-referrer-when-downgrade",
159
160
  "type": "value",
160
161
  "value": "no-referrer-when-downgrade"
161
162
  },
162
163
  {
163
164
  "name": "same-origin",
164
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
165
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
165
166
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-same-origin",
166
167
  "type": "value",
167
168
  "value": "same-origin"
168
169
  },
169
170
  {
170
171
  "name": "origin",
171
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
172
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
172
173
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-origin",
173
174
  "type": "value",
174
175
  "value": "origin"
175
176
  },
176
177
  {
177
178
  "name": "strict-origin",
178
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
179
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
179
180
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-strict-origin",
180
181
  "type": "value",
181
182
  "value": "strict-origin"
182
183
  },
183
184
  {
184
185
  "name": "origin-when-cross-origin",
185
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
186
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
186
187
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-origin-when-cross-origin",
187
188
  "type": "value",
188
189
  "value": "origin-when-cross-origin"
189
190
  },
190
191
  {
191
192
  "name": "strict-origin-when-cross-origin",
192
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
193
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
193
194
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-strict-origin-when-cross-origin",
194
195
  "type": "value",
195
196
  "value": "strict-origin-when-cross-origin"
196
197
  },
197
198
  {
198
199
  "name": "unsafe-url",
199
- "prose": "<referrerpolicy-modifier> = referrerpolicy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
200
+ "prose": "<referrer-policy-modifier> = referrer-policy(no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url)",
200
201
  "href": "https://drafts.csswg.org/css-values-5/#valdef-request-url-modifier-unsafe-url",
201
202
  "type": "value",
202
203
  "value": "unsafe-url"
@@ -406,6 +407,11 @@
406
407
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
407
408
  "type": "type"
408
409
  },
410
+ {
411
+ "name": "<output-value>",
412
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
413
+ "type": "type"
414
+ },
409
415
  {
410
416
  "name": "<easing-function>",
411
417
  "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) If omitted, defaults to linear. The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
@@ -441,6 +447,11 @@
441
447
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
442
448
  "type": "type"
443
449
  },
450
+ {
451
+ "name": "<output-value>",
452
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
453
+ "type": "type"
454
+ },
444
455
  {
445
456
  "name": "<easing-function>",
446
457
  "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) If omitted, defaults to linear. The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
@@ -476,6 +487,11 @@
476
487
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
477
488
  "type": "type"
478
489
  },
490
+ {
491
+ "name": "<output-value>",
492
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
493
+ "type": "type"
494
+ },
479
495
  {
480
496
  "name": "<easing-function>",
481
497
  "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) If omitted, defaults to linear. The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
@@ -511,6 +527,11 @@
511
527
  "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
512
528
  "type": "type"
513
529
  },
530
+ {
531
+ "name": "<output-value>",
532
+ "href": "https://drafts.csswg.org/css-values-5/#typedef-calc-interpolate-input-position",
533
+ "type": "type"
534
+ },
514
535
  {
515
536
  "name": "<easing-function>",
516
537
  "prose": "When appearing in the first argument, specifies the “default” easing function to be used between each stop. When appearing between stops, specifies the easing function to be used between the two surrounding stops, overriding any default provided by a global <easing-function> argument. (It is analogous to animation-timing-function.) If omitted, defaults to linear. The input progress value to this easing function is the segment interpolation progress—​how far the interpolation progress is between the input positions of the nearest stops preceding and following it. For example, in color-interpolate(20%, 0%: red, ease-in-out, 80%: green, 100%: blue), the 20% interpolation progress becomes a 25% segment interpolation progress, as 20% is 25% of the way between 0% and 80%, the surrounding input positions.",
@@ -526,6 +547,11 @@
526
547
  }
527
548
  ]
528
549
  },
550
+ {
551
+ "name": "<whole-value>",
552
+ "href": "https://drafts.csswg.org/css-values-5/#whole-value",
553
+ "type": "type"
554
+ },
529
555
  {
530
556
  "name": "first-valid()",
531
557
  "prose": "The first-valid() functional notation inlines the fallback behavior intrinsic to parsing declarations. Unlike most notations, it can accept any valid or invalid syntax in its arguments, and represents the first value among its arguments that is supported (parsed as valid) by the UA as the whole value of the property it’s used in.",
@@ -755,11 +781,6 @@
755
781
  }
756
782
  ],
757
783
  "warnings": [
758
- {
759
- "msg": "Missing definition",
760
- "name": "]>",
761
- "value": "not <boolean-expr-group> | <boolean-expr-group> [ [ and <boolean-expr-group> ]* | [ or <boolean-expr-group> ]* ]"
762
- },
763
784
  {
764
785
  "msg": "Missing definition",
765
786
  "name": "<boolean-expr-group>",
@@ -779,11 +800,6 @@
779
800
  "msg": "Missing definition",
780
801
  "name": "interpolate-function()",
781
802
  "value": "interpolate-function( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <segment-options>? ] , <input-position>{1,2} : <output-value> , [ [ <easing-function> || <segment-options> ]? , <input-position>{1,2} : <output-value> ]#? )"
782
- },
783
- {
784
- "msg": "Missing definition",
785
- "name": "<input-position>",
786
- "value": "<percentage> | <number> | <dimension>"
787
803
  }
788
804
  ]
789
805
  }
package/css-values.json CHANGED
@@ -131,6 +131,13 @@
131
131
  "type": "value",
132
132
  "value": "em"
133
133
  },
134
+ {
135
+ "name": "em unit",
136
+ "prose": "Equal to the computed value of the font-size property of the element on which it is used. The rule: h1 { line-height: 1.2em } means that the line height of h1 elements will be 20% greater than the font size of h1 element. On the other hand: h1 { font-size: 1.2em } means that the font size of h1 elements will be 20% greater than the computed font size inherited by h1 elements.",
137
+ "href": "https://drafts.csswg.org/css-values-4/#em",
138
+ "type": "value",
139
+ "value": "em unit"
140
+ },
134
141
  {
135
142
  "name": "rem",
136
143
  "prose": "Equal to the computed value of the em unit on the root element.",
@@ -138,6 +145,13 @@
138
145
  "type": "value",
139
146
  "value": "rem"
140
147
  },
148
+ {
149
+ "name": "rem unit",
150
+ "prose": "Equal to the computed value of the em unit on the root element.",
151
+ "href": "https://drafts.csswg.org/css-values-4/#rem",
152
+ "type": "value",
153
+ "value": "rem unit"
154
+ },
141
155
  {
142
156
  "name": "ex",
143
157
  "prose": "Equal to the used x-height of the first available font [CSS3-FONTS]. The x-height is so called because it is often equal to the height of the lowercase \"x\". However, an ex is defined even for fonts that do not contain an \"x\". The x-height of a font can be found in different ways. Some fonts contain reliable metrics for the x-height. If reliable font metrics are not available, UAs may determine the x-height from the height of a lowercase glyph. One possible heuristic is to look at how far the glyph for the lowercase \"o\" extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the x-height, a value of 0.5em must be assumed.",
@@ -145,6 +159,13 @@
145
159
  "type": "value",
146
160
  "value": "ex"
147
161
  },
162
+ {
163
+ "name": "ex unit",
164
+ "prose": "Equal to the used x-height of the first available font [CSS3-FONTS]. The x-height is so called because it is often equal to the height of the lowercase \"x\". However, an ex is defined even for fonts that do not contain an \"x\". The x-height of a font can be found in different ways. Some fonts contain reliable metrics for the x-height. If reliable font metrics are not available, UAs may determine the x-height from the height of a lowercase glyph. One possible heuristic is to look at how far the glyph for the lowercase \"o\" extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the x-height, a value of 0.5em must be assumed.",
165
+ "href": "https://drafts.csswg.org/css-values-4/#ex",
166
+ "type": "value",
167
+ "value": "ex unit"
168
+ },
148
169
  {
149
170
  "name": "rex",
150
171
  "prose": "Equal to the value of the ex unit on the root element.",
@@ -152,6 +173,13 @@
152
173
  "type": "value",
153
174
  "value": "rex"
154
175
  },
176
+ {
177
+ "name": "rex unit",
178
+ "prose": "Equal to the value of the ex unit on the root element.",
179
+ "href": "https://drafts.csswg.org/css-values-4/#rex",
180
+ "type": "value",
181
+ "value": "rex unit"
182
+ },
155
183
  {
156
184
  "name": "cap",
157
185
  "prose": "Equal to the used cap-height of the first available font [CSS3-FONTS]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. However, a cap is defined even for fonts that do not contain Latin letters. The cap-height of a font can be found in different ways. Some fonts contain reliable metrics for the cap-height. If reliable font metrics are not available, UAs may determine the cap-height from the height of an uppercase glyph. One possible heuristic is to look at how far the glyph for the uppercase “O” extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the cap-height, the font’s ascent must be used.",
@@ -159,6 +187,13 @@
159
187
  "type": "value",
160
188
  "value": "cap"
161
189
  },
190
+ {
191
+ "name": "cap unit",
192
+ "prose": "Equal to the used cap-height of the first available font [CSS3-FONTS]. The cap-height is so called because it is approximately equal to the height of a capital Latin letter. However, a cap is defined even for fonts that do not contain Latin letters. The cap-height of a font can be found in different ways. Some fonts contain reliable metrics for the cap-height. If reliable font metrics are not available, UAs may determine the cap-height from the height of an uppercase glyph. One possible heuristic is to look at how far the glyph for the uppercase “O” extends below the baseline, and subtract that value from the top of its bounding box. In the cases where it is impossible or impractical to determine the cap-height, the font’s ascent must be used.",
193
+ "href": "https://drafts.csswg.org/css-values-4/#cap",
194
+ "type": "value",
195
+ "value": "cap unit"
196
+ },
162
197
  {
163
198
  "name": "rcap",
164
199
  "prose": "Equal to the value of the cap unit on the root element.",
@@ -166,6 +201,13 @@
166
201
  "type": "value",
167
202
  "value": "rcap"
168
203
  },
204
+ {
205
+ "name": "rcap unit",
206
+ "prose": "Equal to the value of the cap unit on the root element.",
207
+ "href": "https://drafts.csswg.org/css-values-4/#rcap",
208
+ "type": "value",
209
+ "value": "rcap unit"
210
+ },
169
211
  {
170
212
  "name": "ch",
171
213
  "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
@@ -173,6 +215,13 @@
173
215
  "type": "value",
174
216
  "value": "ch"
175
217
  },
218
+ {
219
+ "name": "ch unit",
220
+ "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
221
+ "href": "https://drafts.csswg.org/css-values-4/#ch",
222
+ "type": "value",
223
+ "value": "ch unit"
224
+ },
176
225
  {
177
226
  "name": "rch",
178
227
  "prose": "Equal to the value of the ch unit on the root element.",
@@ -180,6 +229,13 @@
180
229
  "type": "value",
181
230
  "value": "rch"
182
231
  },
232
+ {
233
+ "name": "rch unit",
234
+ "prose": "Equal to the value of the ch unit on the root element.",
235
+ "href": "https://drafts.csswg.org/css-values-4/#rch",
236
+ "type": "value",
237
+ "value": "rch unit"
238
+ },
183
239
  {
184
240
  "name": "ic",
185
241
  "prose": "Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph found in the font used to render it. In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.",
@@ -187,6 +243,13 @@
187
243
  "type": "value",
188
244
  "value": "ic"
189
245
  },
246
+ {
247
+ "name": "ic unit",
248
+ "prose": "Represents the typical advance measure of CJK letters, and measured as the used advance measure of the “水” (CJK water ideograph, U+6C34) glyph found in the font used to render it. In the cases where it is impossible or impractical to determine the ideographic advance measure, it must be assumed to be 1em.",
249
+ "href": "https://drafts.csswg.org/css-values-4/#ic",
250
+ "type": "value",
251
+ "value": "ic unit"
252
+ },
190
253
  {
191
254
  "name": "ric",
192
255
  "prose": "Equal to the value of the ic unit on the root element.",
@@ -194,6 +257,13 @@
194
257
  "type": "value",
195
258
  "value": "ric"
196
259
  },
260
+ {
261
+ "name": "ric unit",
262
+ "prose": "Equal to the value of the ic unit on the root element.",
263
+ "href": "https://drafts.csswg.org/css-values-4/#ric",
264
+ "type": "value",
265
+ "value": "ric unit"
266
+ },
197
267
  {
198
268
  "name": "lh",
199
269
  "prose": "Equal to the computed value of the line-height property of the element on which it is used, converting normal to an absolute length by using only the metrics of the first available font.",
@@ -201,6 +271,13 @@
201
271
  "type": "value",
202
272
  "value": "lh"
203
273
  },
274
+ {
275
+ "name": "lh unit",
276
+ "prose": "Equal to the computed value of the line-height property of the element on which it is used, converting normal to an absolute length by using only the metrics of the first available font.",
277
+ "href": "https://drafts.csswg.org/css-values-4/#lh",
278
+ "type": "value",
279
+ "value": "lh unit"
280
+ },
204
281
  {
205
282
  "name": "rlh",
206
283
  "prose": "Equal to the value of the lh unit on the root element.",
@@ -208,6 +285,13 @@
208
285
  "type": "value",
209
286
  "value": "rlh"
210
287
  },
288
+ {
289
+ "name": "rlh unit",
290
+ "prose": "Equal to the value of the lh unit on the root element.",
291
+ "href": "https://drafts.csswg.org/css-values-4/#rlh",
292
+ "type": "value",
293
+ "value": "rlh unit"
294
+ },
211
295
  {
212
296
  "name": "vw",
213
297
  "prose": "Equal to 1% of the width of the large viewport size, small viewport size, large viewport size, and dynamic viewport size, respectively. In the example below, if the width of the viewport is 200mm, the font size of h1 elements will be 16mm (i.e. (8×200mm)/100). h1 { font-size: 8vw }",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  {
17
17
  "name": "var()",
18
+ "value": "var( <custom-property-name> , <declaration-value>? )",
18
19
  "href": "https://drafts.csswg.org/css-variables-2/#funcdef-var",
19
- "type": "function",
20
- "value": "var( <custom-property-name> , <declaration-value>? )"
20
+ "type": "function"
21
21
  },
22
22
  {
23
23
  "name": "<var-args>",
package/motion.json CHANGED
@@ -222,9 +222,9 @@
222
222
  },
223
223
  {
224
224
  "name": "ray()",
225
+ "value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
225
226
  "href": "https://drafts.fxtf.org/motion-1/#funcdef-ray",
226
227
  "type": "function",
227
- "value": "ray( <angle> && <ray-size>? && contain? && [at <position>]? )",
228
228
  "values": [
229
229
  {
230
230
  "name": "<angle>",
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.23.4",
4
+ "version": "6.23.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/selectors.json CHANGED
@@ -77,12 +77,6 @@
77
77
  "href": "https://drafts.csswg.org/selectors-4/#target-pseudo",
78
78
  "value": ":target"
79
79
  },
80
- {
81
- "name": ":target-within",
82
- "prose": "The :target-within pseudo-class applies to any element to which the :target pseudo-class applies as well as to any element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :target.",
83
- "href": "https://drafts.csswg.org/selectors-4/#target-within-pseudo",
84
- "value": ":target-within"
85
- },
86
80
  {
87
81
  "name": ":scope",
88
82
  "prose": "In some contexts, selectors are matched with respect to one or more scoping roots, such as when calling the querySelector() method in [DOM]. The :scope pseudo-class represents this scoping root, and may be either a true element or a virtual one (such as a DocumentFragment).",
@@ -258,13 +252,19 @@
258
252
  },
259
253
  {
260
254
  "name": ":checked",
261
- "prose": "Radio and checkbox elements can be toggled by the user. Some menu items are “checked” when the user selects them. When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked.",
255
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
262
256
  "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
263
257
  "value": ":checked"
264
258
  },
259
+ {
260
+ "name": ":unchecked",
261
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
262
+ "href": "https://drafts.csswg.org/selectors-4/#unchecked-pseudo",
263
+ "value": ":unchecked"
264
+ },
265
265
  {
266
266
  "name": ":indeterminate",
267
- "prose": "The :indeterminate pseudo-class applies to UI elements whose value is in an indeterminate state. For example, radio and checkbox elements can be toggled between checked and unchecked states, but are sometimes in an indeterminate state, neither checked nor unchecked. Similarly a progress meter can be in an indeterminate state when the percent completion is unknown. For example, [HTML5] defines how checkboxes can be made to match :indeterminate.",
267
+ "prose": "If an element that could match :checked or :unchecked is neither \"on\" nor \"off\", the :indeterminate pseudo-class applies. :indeterminate also matches elements which do not have a notion of being \"checked\", but whose \"value\" is still in an indeterminate state, such as a progress meter whose progress percentage is unknown.",
268
268
  "href": "https://drafts.csswg.org/selectors-4/#indeterminate-pseudo",
269
269
  "value": ":indeterminate"
270
270
  },