@webref/css 5.4.4 → 6.0.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 (107) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +416 -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 +237 -29
  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 +263 -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 +192 -67
  41. package/css-images.json +152 -33
  42. package/css-inline.json +525 -16
  43. package/css-layout-api.json +20 -0
  44. package/css-line-grid.json +80 -7
  45. package/css-lists.json +140 -19
  46. package/css-logical.json +125 -50
  47. package/css-masking.json +330 -47
  48. package/css-multicol-2.json +32 -5
  49. package/css-multicol.json +84 -13
  50. package/css-namespaces.json +15 -10
  51. package/css-nav.json +62 -7
  52. package/css-nesting.json +15 -0
  53. package/css-overflow-4.json +83 -10
  54. package/css-overflow.json +239 -18
  55. package/css-overscroll.json +110 -9
  56. package/css-page-floats.json +188 -16
  57. package/css-page.json +262 -67
  58. package/css-paint-api.json +8 -5
  59. package/css-position.json +269 -16
  60. package/css-properties-values-api.json +9 -7
  61. package/css-pseudo.json +67 -0
  62. package/css-regions.json +8 -7
  63. package/css-rhythm.json +69 -10
  64. package/css-round-display.json +47 -10
  65. package/css-ruby.json +136 -8
  66. package/css-scoping.json +27 -0
  67. package/css-scroll-anchoring.json +20 -5
  68. package/css-scroll-snap-2.json +272 -10
  69. package/css-scroll-snap.json +218 -29
  70. package/css-scrollbars.json +41 -6
  71. package/css-shadow-parts.json +8 -5
  72. package/css-shapes-2.json +190 -43
  73. package/css-shapes.json +130 -36
  74. package/css-size-adjust.json +26 -5
  75. package/css-sizing-4.json +404 -23
  76. package/css-sizing.json +231 -12
  77. package/css-speech.json +619 -35
  78. package/css-syntax.json +193 -92
  79. package/css-tables.json +10 -9
  80. package/css-text-4.json +800 -40
  81. package/css-text-decor-4.json +394 -23
  82. package/css-text-decor.json +159 -14
  83. package/css-text.json +371 -20
  84. package/css-transforms-2.json +177 -40
  85. package/css-transforms.json +137 -45
  86. package/css-transitions.json +33 -14
  87. package/css-ui.json +436 -42
  88. package/css-values-5.json +99 -14
  89. package/css-values.json +653 -146
  90. package/css-variables.json +12 -7
  91. package/css-view-transitions.json +45 -7
  92. package/css-will-change.json +36 -7
  93. package/css-writing-modes.json +141 -10
  94. package/fill-stroke.json +290 -35
  95. package/filter-effects-2.json +6 -5
  96. package/filter-effects.json +109 -45
  97. package/fullscreen.json +15 -0
  98. package/mathml-core.json +10 -9
  99. package/mediaqueries-5.json +505 -52
  100. package/mediaqueries.json +307 -40
  101. package/motion.json +99 -16
  102. package/package.json +1 -1
  103. package/scroll-animations.json +225 -24
  104. package/selectors.json +368 -30
  105. package/svg-strokes.json +8 -7
  106. package/upgrade-insecure-requests.json +26 -0
  107. package/html.json +0 -19
package/css-sizing.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Box Sizing Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-sizing-3/"
5
5
  },
6
- "properties": {
7
- "width": {
6
+ "properties": [
7
+ {
8
8
  "name": "width",
9
9
  "value": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)",
10
10
  "initial": "auto",
@@ -14,11 +14,42 @@
14
14
  "computedValue": "as specified, with <length-percentage> values computed",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "by computed value type, recursing into fit-content()",
17
+ "values": [
18
+ {
19
+ "name": "<length-percentage [0,∞]>",
20
+ "prose": "Specifies the size of the box using <length> and/or <percentage>. The box-sizing property indicates whether the content box or border box is measured. Percentages are resolved against the width/height, as appropriate, of the box’s containing block. If, in a particular axis, the containing block’s size depends on the box’s size, see the relevant layout module for special rules on how to resolve percentages. Negative values are invalid.",
21
+ "type": "value",
22
+ "value": "<length-percentage [0,∞]>"
23
+ },
24
+ {
25
+ "name": "auto",
26
+ "prose": "For width/height, specifies an automatic size (automatic block size/automatic inline size). See the relevant layout module for how to calculate this. For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0. For backwards-compatibility, the resolved value of this keyword is zero for boxes of all [CSS2] display types: block and inline boxes, inline blocks, and all the table layout boxes. It also resolves to zero when no box is generated.",
27
+ "type": "value",
28
+ "value": "auto"
29
+ },
30
+ {
31
+ "name": "min-content",
32
+ "prose": "Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
33
+ "type": "value",
34
+ "value": "min-content"
35
+ },
36
+ {
37
+ "name": "max-content",
38
+ "prose": "Use the max-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
39
+ "type": "value",
40
+ "value": "max-content"
41
+ },
42
+ {
43
+ "name": "fit-content()",
44
+ "value": "fit-content()",
45
+ "type": "value"
46
+ }
47
+ ],
17
48
  "styleDeclaration": [
18
49
  "width"
19
50
  ]
20
51
  },
21
- "height": {
52
+ {
22
53
  "name": "height",
23
54
  "value": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)",
24
55
  "initial": "auto",
@@ -28,11 +59,42 @@
28
59
  "computedValue": "as specified, with <length-percentage> values computed",
29
60
  "canonicalOrder": "per grammar",
30
61
  "animationType": "by computed value type, recursing into fit-content()",
62
+ "values": [
63
+ {
64
+ "name": "<length-percentage [0,∞]>",
65
+ "prose": "Specifies the size of the box using <length> and/or <percentage>. The box-sizing property indicates whether the content box or border box is measured. Percentages are resolved against the width/height, as appropriate, of the box’s containing block. If, in a particular axis, the containing block’s size depends on the box’s size, see the relevant layout module for special rules on how to resolve percentages. Negative values are invalid.",
66
+ "type": "value",
67
+ "value": "<length-percentage [0,∞]>"
68
+ },
69
+ {
70
+ "name": "auto",
71
+ "prose": "For width/height, specifies an automatic size (automatic block size/automatic inline size). See the relevant layout module for how to calculate this. For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0. For backwards-compatibility, the resolved value of this keyword is zero for boxes of all [CSS2] display types: block and inline boxes, inline blocks, and all the table layout boxes. It also resolves to zero when no box is generated.",
72
+ "type": "value",
73
+ "value": "auto"
74
+ },
75
+ {
76
+ "name": "min-content",
77
+ "prose": "Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
78
+ "type": "value",
79
+ "value": "min-content"
80
+ },
81
+ {
82
+ "name": "max-content",
83
+ "prose": "Use the max-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
84
+ "type": "value",
85
+ "value": "max-content"
86
+ },
87
+ {
88
+ "name": "fit-content()",
89
+ "value": "fit-content()",
90
+ "type": "value"
91
+ }
92
+ ],
31
93
  "styleDeclaration": [
32
94
  "height"
33
95
  ]
34
96
  },
35
- "min-width": {
97
+ {
36
98
  "name": "min-width",
37
99
  "value": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)",
38
100
  "initial": "auto",
@@ -42,12 +104,43 @@
42
104
  "computedValue": "as specified, with <length-percentage> values computed",
43
105
  "canonicalOrder": "per grammar",
44
106
  "animatable": "by computed value, recursing into fit-content()",
107
+ "values": [
108
+ {
109
+ "name": "<length-percentage [0,∞]>",
110
+ "prose": "Specifies the size of the box using <length> and/or <percentage>. The box-sizing property indicates whether the content box or border box is measured. Percentages are resolved against the width/height, as appropriate, of the box’s containing block. If, in a particular axis, the containing block’s size depends on the box’s size, see the relevant layout module for special rules on how to resolve percentages. Negative values are invalid.",
111
+ "type": "value",
112
+ "value": "<length-percentage [0,∞]>"
113
+ },
114
+ {
115
+ "name": "auto",
116
+ "prose": "For width/height, specifies an automatic size (automatic block size/automatic inline size). See the relevant layout module for how to calculate this. For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0. For backwards-compatibility, the resolved value of this keyword is zero for boxes of all [CSS2] display types: block and inline boxes, inline blocks, and all the table layout boxes. It also resolves to zero when no box is generated.",
117
+ "type": "value",
118
+ "value": "auto"
119
+ },
120
+ {
121
+ "name": "min-content",
122
+ "prose": "Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
123
+ "type": "value",
124
+ "value": "min-content"
125
+ },
126
+ {
127
+ "name": "max-content",
128
+ "prose": "Use the max-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
129
+ "type": "value",
130
+ "value": "max-content"
131
+ },
132
+ {
133
+ "name": "fit-content()",
134
+ "value": "fit-content()",
135
+ "type": "value"
136
+ }
137
+ ],
45
138
  "styleDeclaration": [
46
139
  "min-width",
47
140
  "minWidth"
48
141
  ]
49
142
  },
50
- "min-height": {
143
+ {
51
144
  "name": "min-height",
52
145
  "value": "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)",
53
146
  "initial": "auto",
@@ -57,12 +150,43 @@
57
150
  "computedValue": "as specified, with <length-percentage> values computed",
58
151
  "canonicalOrder": "per grammar",
59
152
  "animatable": "by computed value, recursing into fit-content()",
153
+ "values": [
154
+ {
155
+ "name": "<length-percentage [0,∞]>",
156
+ "prose": "Specifies the size of the box using <length> and/or <percentage>. The box-sizing property indicates whether the content box or border box is measured. Percentages are resolved against the width/height, as appropriate, of the box’s containing block. If, in a particular axis, the containing block’s size depends on the box’s size, see the relevant layout module for special rules on how to resolve percentages. Negative values are invalid.",
157
+ "type": "value",
158
+ "value": "<length-percentage [0,∞]>"
159
+ },
160
+ {
161
+ "name": "auto",
162
+ "prose": "For width/height, specifies an automatic size (automatic block size/automatic inline size). See the relevant layout module for how to calculate this. For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0. For backwards-compatibility, the resolved value of this keyword is zero for boxes of all [CSS2] display types: block and inline boxes, inline blocks, and all the table layout boxes. It also resolves to zero when no box is generated.",
163
+ "type": "value",
164
+ "value": "auto"
165
+ },
166
+ {
167
+ "name": "min-content",
168
+ "prose": "Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
169
+ "type": "value",
170
+ "value": "min-content"
171
+ },
172
+ {
173
+ "name": "max-content",
174
+ "prose": "Use the max-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
175
+ "type": "value",
176
+ "value": "max-content"
177
+ },
178
+ {
179
+ "name": "fit-content()",
180
+ "value": "fit-content()",
181
+ "type": "value"
182
+ }
183
+ ],
60
184
  "styleDeclaration": [
61
185
  "min-height",
62
186
  "minHeight"
63
187
  ]
64
188
  },
65
- "max-width": {
189
+ {
66
190
  "name": "max-width",
67
191
  "value": "none | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)",
68
192
  "initial": "none",
@@ -72,12 +196,43 @@
72
196
  "computedValue": "as specified, with <length-percentage> values computed",
73
197
  "canonicalOrder": "per grammar",
74
198
  "animatable": "by computed value, recursing into fit-content()",
199
+ "values": [
200
+ {
201
+ "name": "<length-percentage [0,∞]>",
202
+ "prose": "Specifies the size of the box using <length> and/or <percentage>. The box-sizing property indicates whether the content box or border box is measured. Percentages are resolved against the width/height, as appropriate, of the box’s containing block. If, in a particular axis, the containing block’s size depends on the box’s size, see the relevant layout module for special rules on how to resolve percentages. Negative values are invalid.",
203
+ "type": "value",
204
+ "value": "<length-percentage [0,∞]>"
205
+ },
206
+ {
207
+ "name": "none",
208
+ "prose": "No limit on the size of the box.",
209
+ "type": "value",
210
+ "value": "none"
211
+ },
212
+ {
213
+ "name": "min-content",
214
+ "prose": "Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
215
+ "type": "value",
216
+ "value": "min-content"
217
+ },
218
+ {
219
+ "name": "max-content",
220
+ "prose": "Use the max-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
221
+ "type": "value",
222
+ "value": "max-content"
223
+ },
224
+ {
225
+ "name": "fit-content()",
226
+ "value": "fit-content()",
227
+ "type": "value"
228
+ }
229
+ ],
75
230
  "styleDeclaration": [
76
231
  "max-width",
77
232
  "maxWidth"
78
233
  ]
79
234
  },
80
- "max-height": {
235
+ {
81
236
  "name": "max-height",
82
237
  "value": "none | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)",
83
238
  "initial": "none",
@@ -87,12 +242,43 @@
87
242
  "computedValue": "as specified, with <length-percentage> values computed",
88
243
  "canonicalOrder": "per grammar",
89
244
  "animatable": "by computed value, recursing into fit-content()",
245
+ "values": [
246
+ {
247
+ "name": "<length-percentage [0,∞]>",
248
+ "prose": "Specifies the size of the box using <length> and/or <percentage>. The box-sizing property indicates whether the content box or border box is measured. Percentages are resolved against the width/height, as appropriate, of the box’s containing block. If, in a particular axis, the containing block’s size depends on the box’s size, see the relevant layout module for special rules on how to resolve percentages. Negative values are invalid.",
249
+ "type": "value",
250
+ "value": "<length-percentage [0,∞]>"
251
+ },
252
+ {
253
+ "name": "none",
254
+ "prose": "No limit on the size of the box.",
255
+ "type": "value",
256
+ "value": "none"
257
+ },
258
+ {
259
+ "name": "min-content",
260
+ "prose": "Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
261
+ "type": "value",
262
+ "value": "min-content"
263
+ },
264
+ {
265
+ "name": "max-content",
266
+ "prose": "Use the max-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.",
267
+ "type": "value",
268
+ "value": "max-content"
269
+ },
270
+ {
271
+ "name": "fit-content()",
272
+ "value": "fit-content()",
273
+ "type": "value"
274
+ }
275
+ ],
90
276
  "styleDeclaration": [
91
277
  "max-height",
92
278
  "maxHeight"
93
279
  ]
94
280
  },
95
- "box-sizing": {
281
+ {
96
282
  "name": "box-sizing",
97
283
  "value": "content-box | border-box",
98
284
  "initial": "content-box",
@@ -102,22 +288,55 @@
102
288
  "computedValue": "specified keyword",
103
289
  "canonicalOrder": "per grammar",
104
290
  "animationType": "discrete",
291
+ "values": [
292
+ {
293
+ "name": "content-box",
294
+ "prose": "Sizes specified on sizing properties as <length-percentage> represent the box’s inner sizes, excluding the margins/border/padding: they are applied to the content box. The padding and border of the box are laid out and drawn outside the specified width and height.",
295
+ "type": "value",
296
+ "value": "content-box"
297
+ },
298
+ {
299
+ "name": "border-box",
300
+ "value": "border-box",
301
+ "type": "value"
302
+ }
303
+ ],
105
304
  "styleDeclaration": [
106
305
  "box-sizing",
107
306
  "boxSizing"
108
307
  ]
109
308
  },
110
- "column-width": {
309
+ {
111
310
  "name": "column-width",
112
311
  "newValues": "min-content | max-content | fit-content(<length-percentage>)",
113
312
  "computedValue": "as specified, with <length-percentage> values computed",
114
313
  "animationType": "by computed value type",
314
+ "values": [
315
+ {
316
+ "name": "min-content",
317
+ "prose": "Specifies the optimal column width as the min-content inline size of the multi-column container’s contents.",
318
+ "type": "value",
319
+ "value": "min-content"
320
+ },
321
+ {
322
+ "name": "max-content",
323
+ "prose": "Specifies the optimal column width as the max-content inline size of the multi-column container’s contents.",
324
+ "type": "value",
325
+ "value": "max-content"
326
+ },
327
+ {
328
+ "name": "fit-content()",
329
+ "value": "fit-content()",
330
+ "type": "value"
331
+ }
332
+ ],
115
333
  "styleDeclaration": [
116
334
  "column-width",
117
335
  "columnWidth"
118
336
  ]
119
337
  }
120
- },
121
- "atrules": {},
122
- "valuespaces": {}
338
+ ],
339
+ "atrules": [],
340
+ "selectors": [],
341
+ "values": []
123
342
  }