@webref/css 5.4.4 → 6.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 (108) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +450 -21
  3. package/README.md +4 -4
  4. package/SVG.json +42 -35
  5. package/compat.json +111 -75
  6. package/compositing.json +101 -12
  7. package/css-align.json +300 -30
  8. package/css-anchor.json +177 -19
  9. package/css-animations-2.json +37 -15
  10. package/css-animations.json +155 -31
  11. package/css-backgrounds-4.json +107 -32
  12. package/css-backgrounds.json +426 -59
  13. package/css-box.json +243 -20
  14. package/css-break.json +292 -11
  15. package/css-cascade-6.json +22 -13
  16. package/css-cascade.json +50 -15
  17. package/css-color-5.json +320 -35
  18. package/css-color-adjust.json +75 -8
  19. package/css-color.json +1100 -61
  20. package/css-conditional-4.json +11 -6
  21. package/css-conditional-5.json +38 -19
  22. package/css-conditional.json +28 -15
  23. package/css-contain-3.json +101 -26
  24. package/css-contain.json +71 -6
  25. package/css-content.json +291 -30
  26. package/css-counter-styles.json +455 -18
  27. package/css-display.json +250 -19
  28. package/css-easing.json +137 -25
  29. package/css-env.json +61 -6
  30. package/css-exclusions.json +65 -6
  31. package/css-extensions.json +20 -12
  32. package/css-flexbox.json +132 -11
  33. package/css-fonts-5.json +255 -13
  34. package/css-fonts.json +886 -74
  35. package/css-gcpm-4.json +30 -5
  36. package/css-gcpm.json +76 -15
  37. package/css-grid-3.json +10 -9
  38. package/css-grid.json +442 -42
  39. package/css-highlight-api.json +13 -5
  40. package/css-images-4.json +221 -68
  41. package/css-images-5.json +40 -0
  42. package/css-images.json +278 -33
  43. package/css-inline.json +525 -16
  44. package/css-layout-api.json +20 -0
  45. package/css-line-grid.json +80 -7
  46. package/css-lists.json +176 -21
  47. package/css-logical.json +125 -50
  48. package/css-masking.json +330 -47
  49. package/css-multicol-2.json +32 -5
  50. package/css-multicol.json +84 -13
  51. package/css-namespaces.json +15 -10
  52. package/css-nav.json +63 -7
  53. package/css-nesting.json +15 -0
  54. package/css-overflow-4.json +83 -10
  55. package/css-overflow.json +239 -18
  56. package/css-overscroll.json +110 -9
  57. package/css-page-floats.json +188 -16
  58. package/css-page.json +262 -67
  59. package/css-paint-api.json +8 -5
  60. package/css-position.json +269 -16
  61. package/css-properties-values-api.json +9 -7
  62. package/css-pseudo.json +67 -0
  63. package/css-regions.json +8 -7
  64. package/css-rhythm.json +69 -10
  65. package/css-round-display.json +47 -10
  66. package/css-ruby.json +137 -8
  67. package/css-scoping.json +27 -0
  68. package/css-scroll-anchoring.json +20 -5
  69. package/css-scroll-snap-2.json +272 -10
  70. package/css-scroll-snap.json +218 -29
  71. package/css-scrollbars.json +41 -6
  72. package/css-shadow-parts.json +8 -5
  73. package/css-shapes-2.json +190 -43
  74. package/css-shapes.json +130 -36
  75. package/css-size-adjust.json +26 -5
  76. package/css-sizing-4.json +404 -23
  77. package/css-sizing.json +231 -12
  78. package/css-speech.json +619 -35
  79. package/css-syntax.json +193 -92
  80. package/css-tables.json +10 -9
  81. package/css-text-4.json +800 -40
  82. package/css-text-decor-4.json +394 -23
  83. package/css-text-decor.json +159 -14
  84. package/css-text.json +371 -20
  85. package/css-transforms-2.json +177 -40
  86. package/css-transforms.json +137 -45
  87. package/css-transitions.json +33 -14
  88. package/css-ui.json +437 -42
  89. package/css-values-5.json +99 -14
  90. package/css-values.json +654 -146
  91. package/css-variables.json +12 -7
  92. package/css-view-transitions.json +45 -7
  93. package/css-will-change.json +36 -7
  94. package/css-writing-modes.json +141 -10
  95. package/fill-stroke.json +290 -35
  96. package/filter-effects-2.json +6 -5
  97. package/filter-effects.json +109 -45
  98. package/fullscreen.json +15 -0
  99. package/mathml-core.json +10 -9
  100. package/mediaqueries-5.json +505 -52
  101. package/mediaqueries.json +307 -40
  102. package/motion.json +99 -16
  103. package/package.json +1 -1
  104. package/scroll-animations.json +225 -24
  105. package/selectors.json +368 -30
  106. package/svg-strokes.json +8 -7
  107. package/upgrade-insecure-requests.json +26 -0
  108. package/html.json +0 -19
package/css-values-5.json CHANGED
@@ -3,24 +3,109 @@
3
3
  "title": "CSS Values and Units Module Level 5",
4
4
  "url": "https://drafts.csswg.org/css-values-5/"
5
5
  },
6
- "properties": {},
7
- "atrules": {},
8
- "valuespaces": {
9
- "<toggle()>": {
10
- "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value."
6
+ "properties": [],
7
+ "atrules": [],
8
+ "selectors": [],
9
+ "values": [
10
+ {
11
+ "name": "toggle()",
12
+ "prose": "The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.",
13
+ "type": "function"
11
14
  },
12
- "<toggle-value>": {
13
- "prose": "where <toggle-value> is any CSS value that is valid where the expression is placed. If any of the values inside are not valid, then the entire toggle() expression is invalid. The toggle() expression may be used as the value of any property, but must be the only component in that property’s value."
15
+ {
16
+ "name": "<toggle-value>",
17
+ "prose": "where <toggle-value> is any CSS value that is valid where the expression is placed. If any of the values inside are not valid, then the entire toggle() expression is invalid. The toggle() expression may be used as the value of any property, but must be the only component in that property’s value.",
18
+ "type": "type"
14
19
  },
15
- "<attr()>": {
20
+ {
21
+ "name": "attr()",
16
22
  "prose": "The attr() function substitutes the value of an attribute on an element into a property, similar to how the var() function substitutes a custom property value into a function.",
17
- "value": "attr( <q-name> <attr-type>? , <declaration-value>?)"
23
+ "type": "function",
24
+ "value": "attr( <q-name> <attr-type>? , <declaration-value>?)",
25
+ "values": [
26
+ {
27
+ "name": "string",
28
+ "prose": "The substitution value is a CSS string, whose value is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
29
+ "type": "value",
30
+ "value": "string"
31
+ },
32
+ {
33
+ "name": "url",
34
+ "prose": "The substitution value is a CSS <url> value, whose url is the literal value of the attribute. (No CSS parsing or \"cleanup\" of the value is performed.) No value triggers fallback.",
35
+ "type": "value",
36
+ "value": "url"
37
+ },
38
+ {
39
+ "name": "ident",
40
+ "prose": "The substitution value is a CSS <custom-ident>, whose value is the literal value of the attribute, with leading and trailing ASCII whitespace stripped. (No CSS parsing of the value is performed.) If the attribute value, after trimming, is the empty string, there is instead no substitution value. If the <custom-ident>’s value is a CSS-wide keyword or default, there is instead no substitution value.",
41
+ "type": "value",
42
+ "value": "ident"
43
+ },
44
+ {
45
+ "name": "color",
46
+ "prose": "Parse a component value from the attribute’s value. If the result is a <hex-color> or a named color ident, the substitution value is that result as a <color>. Otherwise there is no substitution value.",
47
+ "type": "value",
48
+ "value": "color"
49
+ },
50
+ {
51
+ "name": "number",
52
+ "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the result is the substitution value. Otherwise, there is no substitution value.",
53
+ "type": "value",
54
+ "value": "number"
55
+ },
56
+ {
57
+ "name": "percentage",
58
+ "prose": "Parse a component value from the attribute’s value. If the result is a <percentage-token>, the result is the substitution value. Otherwise, there is no substitution value.",
59
+ "type": "value",
60
+ "value": "percentage"
61
+ },
62
+ {
63
+ "name": "length",
64
+ "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
65
+ "type": "value",
66
+ "value": "length"
67
+ },
68
+ {
69
+ "name": "angle",
70
+ "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
71
+ "type": "value",
72
+ "value": "angle"
73
+ },
74
+ {
75
+ "name": "time",
76
+ "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
77
+ "type": "value",
78
+ "value": "time"
79
+ },
80
+ {
81
+ "name": "frequency",
82
+ "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
83
+ "type": "value",
84
+ "value": "frequency"
85
+ },
86
+ {
87
+ "name": "flex",
88
+ "prose": "Parse a component value from the attribute’s value. If the result is a <dimension-token> whose unit matches the given type, the result is the substitution value. Otherwise, there is no substitution value.",
89
+ "type": "value",
90
+ "value": "flex"
91
+ },
92
+ {
93
+ "name": "<dimension-unit>",
94
+ "prose": "Parse a component value from the attribute’s value. If the result is a <number-token>, the substitution value is a dimension with the result’s value, and the given unit. Otherwise, there is no substitution value.",
95
+ "type": "value",
96
+ "value": "<dimension-unit>"
97
+ }
98
+ ]
18
99
  },
19
- "<dimension-unit>": {
20
- "prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms)."
21
- },
22
- "<attr-type>": {
100
+ {
101
+ "name": "<attr-type>",
102
+ "type": "type",
23
103
  "value": "string | url | ident | color | number | percentage | length | angle | time | frequency | flex | <dimension-unit>"
104
+ },
105
+ {
106
+ "name": "<dimension-unit>",
107
+ "prose": "The <dimension-unit> production matches a literal \"%\" character (that is, a <delim-token> with a value of \"%\") or an ident whose value is any of the CSS units for <length>, <angle>, <time>, <frequency>, or <flex> values (such as px or ms).",
108
+ "type": "type"
24
109
  }
25
- }
110
+ ]
26
111
  }