@webref/css 4.3.4 → 5.1.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.
Files changed (100) hide show
  1. package/CSS.json +1 -1
  2. package/README.md +2 -2
  3. package/SVG.json +1 -1
  4. package/compat.json +17 -17
  5. package/compositing.json +1 -1
  6. package/css-align.json +1 -1
  7. package/css-animations-2.json +1 -1
  8. package/css-animations.json +6 -1
  9. package/css-backgrounds-4.json +1 -1
  10. package/css-backgrounds.json +1 -1
  11. package/css-box.json +1 -1
  12. package/css-break.json +1 -1
  13. package/css-cascade-6.json +6 -1
  14. package/css-cascade.json +12 -3
  15. package/css-color-5.json +24 -25
  16. package/css-color-adjust.json +1 -1
  17. package/css-color.json +2 -2
  18. package/css-conditional-4.json +1 -1
  19. package/css-conditional-5.json +10 -1
  20. package/css-conditional.json +10 -1
  21. package/css-contain-3.json +42 -49
  22. package/css-contain.json +1 -1
  23. package/css-content.json +1 -1
  24. package/css-counter-styles.json +66 -81
  25. package/css-device-adapt.json +93 -111
  26. package/css-display.json +1 -1
  27. package/css-easing.json +1 -1
  28. package/css-env.json +1 -1
  29. package/css-exclusions.json +1 -1
  30. package/css-extensions.json +6 -1
  31. package/css-flexbox.json +1 -1
  32. package/css-fonts-5.json +62 -76
  33. package/css-fonts.json +129 -146
  34. package/css-gcpm-4.json +1 -1
  35. package/css-gcpm.json +1 -1
  36. package/css-grid-3.json +1 -1
  37. package/css-grid.json +1 -1
  38. package/css-highlight-api.json +1 -1
  39. package/css-images-4.json +1 -1
  40. package/css-images.json +1 -1
  41. package/css-inline.json +1 -1
  42. package/css-line-grid.json +1 -1
  43. package/css-lists.json +1 -1
  44. package/css-logical.json +1 -1
  45. package/css-masking.json +2 -2
  46. package/css-multicol-2.json +1 -1
  47. package/css-multicol.json +1 -1
  48. package/css-namespaces.json +6 -1
  49. package/css-nav.json +1 -1
  50. package/css-nesting.json +14 -0
  51. package/css-overflow-4.json +2 -2
  52. package/css-overflow.json +1 -1
  53. package/css-overscroll.json +1 -1
  54. package/css-page-floats.json +1 -1
  55. package/css-page.json +98 -37
  56. package/css-paint-api.json +1 -1
  57. package/css-position.json +1 -1
  58. package/css-properties-values-api.json +24 -25
  59. package/css-regions.json +1 -1
  60. package/css-rhythm.json +1 -1
  61. package/css-round-display.json +23 -19
  62. package/css-ruby.json +1 -1
  63. package/css-scroll-anchoring.json +1 -1
  64. package/css-scroll-snap-2.json +1 -1
  65. package/css-scroll-snap.json +1 -1
  66. package/css-scrollbars.json +1 -1
  67. package/css-shadow-parts.json +1 -1
  68. package/css-shapes-2.json +1 -1
  69. package/css-shapes.json +1 -1
  70. package/css-size-adjust.json +1 -1
  71. package/css-sizing-4.json +1 -1
  72. package/css-sizing.json +1 -1
  73. package/css-speech.json +1 -1
  74. package/css-syntax.json +1 -1
  75. package/css-tables.json +1 -1
  76. package/css-text-4.json +1 -1
  77. package/css-text-decor-4.json +16 -16
  78. package/css-text-decor.json +1 -1
  79. package/css-text.json +1 -1
  80. package/css-transforms-2.json +2 -2
  81. package/css-transforms.json +1 -1
  82. package/css-transitions.json +1 -1
  83. package/css-ui.json +1 -1
  84. package/css-values-5.json +1 -1
  85. package/css-values.json +1 -1
  86. package/css-variables.json +1 -1
  87. package/css-will-change.json +1 -1
  88. package/css-writing-modes.json +1 -1
  89. package/fill-stroke.json +1 -1
  90. package/filter-effects-2.json +1 -1
  91. package/filter-effects.json +2 -2
  92. package/html.json +1 -1
  93. package/mathml-core.json +73 -0
  94. package/mediaqueries-5.json +231 -297
  95. package/mediaqueries.json +131 -169
  96. package/motion.json +1 -1
  97. package/package.json +2 -2
  98. package/scroll-animations.json +113 -32
  99. package/selectors.json +1 -1
  100. package/svg-strokes.json +1 -1
package/css-fonts.json CHANGED
@@ -277,7 +277,7 @@
277
277
  },
278
278
  "font-variant": {
279
279
  "name": "font-variant",
280
- "value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] ]",
280
+ "value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] || [ text | emoji | unicode ] ]",
281
281
  "initial": "normal",
282
282
  "appliesTo": "all elements and text",
283
283
  "inherited": "yes",
@@ -367,7 +367,7 @@
367
367
  },
368
368
  "font-variant-emoji": {
369
369
  "name": "font-variant-emoji",
370
- "value": "auto | text | emoji | unicode",
370
+ "value": "normal | text | emoji | unicode",
371
371
  "initial": "auto",
372
372
  "appliesTo": "all elements and text",
373
373
  "inherited": "yes",
@@ -381,147 +381,130 @@
381
381
  ]
382
382
  }
383
383
  },
384
- "descriptors": {
385
- "font-family": [
386
- {
387
- "name": "font-family",
388
- "for": "@font-face",
389
- "value": "<family-name>",
390
- "initial": "N/A"
391
- },
392
- {
393
- "name": "font-family",
394
- "for": "@font-palette-values",
395
- "value": "<'font-family'>",
396
- "initial": "N/A"
397
- }
398
- ],
399
- "src": [
400
- {
401
- "name": "src",
402
- "for": "@font-face",
403
- "value": "see prose",
404
- "initial": "N/A"
405
- }
406
- ],
407
- "font-style": [
408
- {
409
- "name": "font-style",
410
- "for": "@font-face",
411
- "value": "auto | normal | italic | oblique [ <angle>{1,2} ]?",
412
- "initial": "auto"
413
- }
414
- ],
415
- "font-weight": [
416
- {
417
- "name": "font-weight",
418
- "for": "@font-face",
419
- "value": "auto | <font-weight-absolute>{1,2}",
420
- "initial": "auto"
421
- }
422
- ],
423
- "font-stretch": [
424
- {
425
- "name": "font-stretch",
426
- "for": "@font-face",
427
- "value": "auto | <'font-stretch'>{1,2}",
428
- "initial": "auto"
429
- }
430
- ],
431
- "unicode-range": [
432
- {
433
- "name": "unicode-range",
434
- "for": "@font-face",
435
- "value": "<urange>#",
436
- "initial": "U+0-10FFFF"
437
- }
438
- ],
439
- "font-feature-settings": [
440
- {
441
- "name": "font-feature-settings",
442
- "for": "@font-face",
443
- "value": "normal | <feature-tag-value>#",
444
- "initial": "normal"
445
- }
446
- ],
447
- "font-variation-settings": [
448
- {
449
- "name": "font-variation-settings",
450
- "for": "@font-face",
451
- "value": "normal | [ <string> <number>]#",
452
- "initial": "normal"
453
- }
454
- ],
455
- "font-named-instance": [
456
- {
457
- "name": "font-named-instance",
458
- "for": "@font-face",
459
- "value": "auto | <string>",
460
- "initial": "auto"
461
- }
462
- ],
463
- "font-display": [
464
- {
465
- "name": "font-display",
466
- "for": "@font-face",
467
- "value": "auto | block | swap | fallback | optional",
468
- "initial": "auto"
469
- },
470
- {
471
- "name": "font-display",
472
- "for": "@font-feature-values",
473
- "value": "auto | block | swap | fallback | optional",
474
- "initial": "auto"
475
- }
476
- ],
477
- "font-language-override": [
478
- {
479
- "name": "font-language-override",
480
- "for": "@font-face",
481
- "value": "normal | <string>",
482
- "initial": "normal"
483
- }
484
- ],
485
- "ascent-override": [
486
- {
487
- "name": "ascent-override",
488
- "for": "@font-face",
489
- "value": "normal | <percentage [0,∞]>",
490
- "initial": "normal"
491
- }
492
- ],
493
- "descent-override": [
494
- {
495
- "name": "descent-override",
496
- "for": "@font-face",
497
- "value": "normal | <percentage [0,∞]>",
498
- "initial": "normal"
499
- }
500
- ],
501
- "line-gap-override": [
502
- {
503
- "name": "line-gap-override",
504
- "for": "@font-face",
505
- "value": "normal | <percentage [0,∞]>",
506
- "initial": "normal"
507
- }
508
- ],
509
- "base-palette": [
510
- {
511
- "name": "base-palette",
512
- "for": "@font-palette-values",
513
- "value": "light | dark | <integer [0,∞]>",
514
- "initial": "N/A"
515
- }
516
- ],
517
- "override-colors": [
518
- {
519
- "name": "override-colors",
520
- "for": "@font-palette-values",
521
- "value": "[ <integer [0,∞]> <absolute-color-base> ]#",
522
- "initial": "N/A"
523
- }
524
- ]
384
+ "atrules": {
385
+ "@font-face": {
386
+ "value": "@font-face { <declaration-list> }",
387
+ "descriptors": [
388
+ {
389
+ "name": "font-family",
390
+ "for": "@font-face",
391
+ "value": "<family-name>",
392
+ "initial": "N/A"
393
+ },
394
+ {
395
+ "name": "src",
396
+ "for": "@font-face",
397
+ "value": "see prose",
398
+ "initial": "N/A"
399
+ },
400
+ {
401
+ "name": "font-style",
402
+ "for": "@font-face",
403
+ "value": "auto | normal | italic | oblique [ <angle>{1,2} ]?",
404
+ "initial": "auto"
405
+ },
406
+ {
407
+ "name": "font-weight",
408
+ "for": "@font-face",
409
+ "value": "auto | <font-weight-absolute>{1,2}",
410
+ "initial": "auto"
411
+ },
412
+ {
413
+ "name": "font-stretch",
414
+ "for": "@font-face",
415
+ "value": "auto | <'font-stretch'>{1,2}",
416
+ "initial": "auto"
417
+ },
418
+ {
419
+ "name": "unicode-range",
420
+ "for": "@font-face",
421
+ "value": "<urange>#",
422
+ "initial": "U+0-10FFFF"
423
+ },
424
+ {
425
+ "name": "font-feature-settings",
426
+ "for": "@font-face",
427
+ "value": "normal | <feature-tag-value>#",
428
+ "initial": "normal"
429
+ },
430
+ {
431
+ "name": "font-variation-settings",
432
+ "for": "@font-face",
433
+ "value": "normal | [ <string> <number>]#",
434
+ "initial": "normal"
435
+ },
436
+ {
437
+ "name": "font-named-instance",
438
+ "for": "@font-face",
439
+ "value": "auto | <string>",
440
+ "initial": "auto"
441
+ },
442
+ {
443
+ "name": "font-display",
444
+ "for": "@font-face",
445
+ "value": "auto | block | swap | fallback | optional",
446
+ "initial": "auto"
447
+ },
448
+ {
449
+ "name": "font-language-override",
450
+ "for": "@font-face",
451
+ "value": "normal | <string>",
452
+ "initial": "normal"
453
+ },
454
+ {
455
+ "name": "ascent-override",
456
+ "for": "@font-face",
457
+ "value": "normal | <percentage [0,∞]>",
458
+ "initial": "normal"
459
+ },
460
+ {
461
+ "name": "descent-override",
462
+ "for": "@font-face",
463
+ "value": "normal | <percentage [0,∞]>",
464
+ "initial": "normal"
465
+ },
466
+ {
467
+ "name": "line-gap-override",
468
+ "for": "@font-face",
469
+ "value": "normal | <percentage [0,∞]>",
470
+ "initial": "normal"
471
+ }
472
+ ]
473
+ },
474
+ "@font-feature-values": {
475
+ "value": "@font-feature-values <family-name># { <declaration-list> }",
476
+ "descriptors": [
477
+ {
478
+ "name": "font-display",
479
+ "for": "@font-feature-values",
480
+ "value": "auto | block | swap | fallback | optional",
481
+ "initial": "auto"
482
+ }
483
+ ]
484
+ },
485
+ "@font-palette-values": {
486
+ "value": "@font-palette-values <dashed-ident> { <declaration-list> }",
487
+ "descriptors": [
488
+ {
489
+ "name": "font-family",
490
+ "for": "@font-palette-values",
491
+ "value": "<'font-family'>",
492
+ "initial": "N/A"
493
+ },
494
+ {
495
+ "name": "base-palette",
496
+ "for": "@font-palette-values",
497
+ "value": "light | dark | <integer [0,∞]>",
498
+ "initial": "N/A"
499
+ },
500
+ {
501
+ "name": "override-colors",
502
+ "for": "@font-palette-values",
503
+ "value": "[ <integer [0,∞]> <absolute-color-base> ]#",
504
+ "initial": "N/A"
505
+ }
506
+ ]
507
+ }
525
508
  },
526
509
  "valuespaces": {
527
510
  "<family-name>": {
@@ -549,10 +532,10 @@
549
532
  "value": "[<string> | collection | embedded-opentype | opentype | svg | truetype | woff | woff2 ]"
550
533
  },
551
534
  "<font-tech>": {
552
- "value": "[<font-feature-tech> | <color-font-tech> | variations | palettes | incremental ]"
535
+ "value": "[<font-features-tech> | <color-font-tech> | variations | palettes | incremental ]"
553
536
  },
554
- "<font-feature-tech>": {
555
- "value": "[feature-opentype | feature-aat | feature-graphite]"
537
+ "<font-features-tech>": {
538
+ "value": "[features-opentype | features-aat | features-graphite]"
556
539
  },
557
540
  "<color-font-tech>": {
558
541
  "value": "[color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]"
package/css-gcpm-4.json CHANGED
@@ -20,6 +20,6 @@
20
20
  ]
21
21
  }
22
22
  },
23
- "descriptors": {},
23
+ "atrules": {},
24
24
  "valuespaces": {}
25
25
  }
package/css-gcpm.json CHANGED
@@ -56,7 +56,7 @@
56
56
  ]
57
57
  }
58
58
  },
59
- "descriptors": {},
59
+ "atrules": {},
60
60
  "valuespaces": {
61
61
  "<running()>": {
62
62
  "value": "running( <custom-ident> )"
package/css-grid-3.json CHANGED
@@ -78,6 +78,6 @@
78
78
  ]
79
79
  }
80
80
  },
81
- "descriptors": {},
81
+ "atrules": {},
82
82
  "valuespaces": {}
83
83
  }
package/css-grid.json CHANGED
@@ -229,7 +229,7 @@
229
229
  ]
230
230
  }
231
231
  },
232
- "descriptors": {},
232
+ "atrules": {},
233
233
  "valuespaces": {
234
234
  "<repeat()>": {
235
235
  "prose": "The repeat() notation represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."
@@ -4,7 +4,7 @@
4
4
  "url": "https://drafts.csswg.org/css-highlight-api-1/"
5
5
  },
6
6
  "properties": {},
7
- "descriptors": {},
7
+ "atrules": {},
8
8
  "valuespaces": {
9
9
  "<custom-highlight-name>": {
10
10
  "prose": "The ::highlight(<custom-highlight-name>) pseudo-element (also known as the custom highlight pseudo-element) represents the portion of a document that is being contained or partially contained in all the ranges of the registered custom highlight with the custom highlight name <custom-highlight-name>, if any. <custom-highlight-name> must be a valid CSS <ident-token>."
package/css-images-4.json CHANGED
@@ -50,7 +50,7 @@
50
50
  ]
51
51
  }
52
52
  },
53
- "descriptors": {},
53
+ "atrules": {},
54
54
  "valuespaces": {
55
55
  "<type()>": {
56
56
  "value": "type( <string> )"
package/css-images.json CHANGED
@@ -65,7 +65,7 @@
65
65
  ]
66
66
  }
67
67
  },
68
- "descriptors": {},
68
+ "atrules": {},
69
69
  "valuespaces": {
70
70
  "<size>": {
71
71
  "prose": "Both circle and ellipse gradients accept the following keywords as their <size>:",
package/css-inline.json CHANGED
@@ -181,6 +181,6 @@
181
181
  ]
182
182
  }
183
183
  },
184
- "descriptors": {},
184
+ "atrules": {},
185
185
  "valuespaces": {}
186
186
  }
@@ -50,6 +50,6 @@
50
50
  ]
51
51
  }
52
52
  },
53
- "descriptors": {},
53
+ "atrules": {},
54
54
  "valuespaces": {}
55
55
  }
package/css-lists.json CHANGED
@@ -125,7 +125,7 @@
125
125
  ]
126
126
  }
127
127
  },
128
- "descriptors": {},
128
+ "atrules": {},
129
129
  "valuespaces": {
130
130
  "<counter-name>": {
131
131
  "prose": "Counters are referred to in CSS syntax using the <counter-name> type, which represents their name as a <custom-ident>. A <counter-name> name cannot match the keyword none; such an identifier is invalid as a <counter-name>."
package/css-logical.json CHANGED
@@ -695,6 +695,6 @@
695
695
  ]
696
696
  }
697
697
  },
698
- "descriptors": {},
698
+ "atrules": {},
699
699
  "valuespaces": {}
700
700
  }
package/css-masking.json CHANGED
@@ -309,7 +309,7 @@
309
309
  },
310
310
  "clip": {
311
311
  "name": "clip",
312
- "value": "rect() | auto",
312
+ "value": "<rect()> | auto",
313
313
  "initial": "auto",
314
314
  "appliesTo": "Absolutely positioned elements. In SVG, it applies to elements which establish a new viewport, pattern elements and mask elements.",
315
315
  "inherited": "no",
@@ -323,7 +323,7 @@
323
323
  ]
324
324
  }
325
325
  },
326
- "descriptors": {},
326
+ "atrules": {},
327
327
  "valuespaces": {
328
328
  "<rect()>": {
329
329
  "value": "rect( <top>, <right>, <bottom>, <left> )"
@@ -20,6 +20,6 @@
20
20
  ]
21
21
  }
22
22
  },
23
- "descriptors": {},
23
+ "atrules": {},
24
24
  "valuespaces": {}
25
25
  }
package/css-multicol.json CHANGED
@@ -139,6 +139,6 @@
139
139
  ]
140
140
  }
141
141
  },
142
- "descriptors": {},
142
+ "atrules": {},
143
143
  "valuespaces": {}
144
144
  }
@@ -4,7 +4,12 @@
4
4
  "url": "https://drafts.csswg.org/css-namespaces/"
5
5
  },
6
6
  "properties": {},
7
- "descriptors": {},
7
+ "atrules": {
8
+ "@namespace": {
9
+ "value": "@namespace <namespace-prefix>? [ <string> | <url> ] ;",
10
+ "descriptors": []
11
+ }
12
+ },
8
13
  "valuespaces": {
9
14
  "<namespace-prefix>": {
10
15
  "value": "<ident>"
package/css-nav.json CHANGED
@@ -47,6 +47,6 @@
47
47
  ]
48
48
  }
49
49
  },
50
- "descriptors": {},
50
+ "atrules": {},
51
51
  "valuespaces": {}
52
52
  }
@@ -0,0 +1,14 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Nesting Module",
4
+ "url": "https://drafts.csswg.org/css-nesting/"
5
+ },
6
+ "properties": {},
7
+ "atrules": {
8
+ "@nest": {
9
+ "value": "@nest <selector-list> { <style-block> }",
10
+ "descriptors": []
11
+ }
12
+ },
13
+ "valuespaces": {}
14
+ }
@@ -50,10 +50,10 @@
50
50
  ]
51
51
  }
52
52
  },
53
- "descriptors": {},
53
+ "atrules": {},
54
54
  "valuespaces": {
55
55
  "<fade()>": {
56
- "value": "fade( <length> | <percentage> )"
56
+ "value": "fade( [ <length> | <percentage> ] )"
57
57
  }
58
58
  }
59
59
  }
package/css-overflow.json CHANGED
@@ -214,6 +214,6 @@
214
214
  ]
215
215
  }
216
216
  },
217
- "descriptors": {},
217
+ "atrules": {},
218
218
  "valuespaces": {}
219
219
  }
@@ -85,6 +85,6 @@
85
85
  ]
86
86
  }
87
87
  },
88
- "descriptors": {},
88
+ "atrules": {},
89
89
  "valuespaces": {}
90
90
  }
@@ -78,7 +78,7 @@
78
78
  ]
79
79
  }
80
80
  },
81
- "descriptors": {},
81
+ "atrules": {},
82
82
  "valuespaces": {
83
83
  "<snap-block()>": {
84
84
  "value": "snap-block( <length> , [ start | end | near ]? )"