@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-box.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Box Model Module Level 4",
4
4
  "url": "https://drafts.csswg.org/css-box-4/"
5
5
  },
6
- "properties": {
7
- "margin-top": {
6
+ "properties": [
7
+ {
8
8
  "name": "margin-top",
9
9
  "value": "<length-percentage> | auto",
10
10
  "initial": "0",
@@ -19,7 +19,7 @@
19
19
  "marginTop"
20
20
  ]
21
21
  },
22
- "margin-right": {
22
+ {
23
23
  "name": "margin-right",
24
24
  "value": "<length-percentage> | auto",
25
25
  "initial": "0",
@@ -34,7 +34,7 @@
34
34
  "marginRight"
35
35
  ]
36
36
  },
37
- "margin-bottom": {
37
+ {
38
38
  "name": "margin-bottom",
39
39
  "value": "<length-percentage> | auto",
40
40
  "initial": "0",
@@ -49,7 +49,7 @@
49
49
  "marginBottom"
50
50
  ]
51
51
  },
52
- "margin-left": {
52
+ {
53
53
  "name": "margin-left",
54
54
  "value": "<length-percentage> | auto",
55
55
  "initial": "0",
@@ -64,7 +64,7 @@
64
64
  "marginLeft"
65
65
  ]
66
66
  },
67
- "margin": {
67
+ {
68
68
  "name": "margin",
69
69
  "value": "<'margin-top'>{1,4}",
70
70
  "initial": "0",
@@ -78,7 +78,7 @@
78
78
  "margin"
79
79
  ]
80
80
  },
81
- "margin-trim": {
81
+ {
82
82
  "name": "margin-trim",
83
83
  "value": "none | block | inline | [ block-start || inline-start || block-end || inline-end ]",
84
84
  "initial": "none",
@@ -88,12 +88,56 @@
88
88
  "computedValue": "a set of zero to four keywords indicating which sides to trim",
89
89
  "canonicalOrder": "per grammar",
90
90
  "animationType": "discrete",
91
+ "values": [
92
+ {
93
+ "name": "none",
94
+ "prose": "Margins are not trimmed by the container.",
95
+ "type": "value",
96
+ "value": "none"
97
+ },
98
+ {
99
+ "name": "block-start",
100
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
101
+ "type": "value",
102
+ "value": "block-start"
103
+ },
104
+ {
105
+ "name": "inline-start",
106
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
107
+ "type": "value",
108
+ "value": "inline-start"
109
+ },
110
+ {
111
+ "name": "inline-end",
112
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
113
+ "type": "value",
114
+ "value": "inline-end"
115
+ },
116
+ {
117
+ "name": "block-end",
118
+ "prose": "For in-flow boxes and floats contained by this box, margins adjacent to the box’s specified edges are truncated to zero. It also truncates any margins collapsed with such a margin.",
119
+ "type": "value",
120
+ "value": "block-end"
121
+ },
122
+ {
123
+ "name": "block",
124
+ "prose": "Computes to block-start block-end.",
125
+ "type": "value",
126
+ "value": "block"
127
+ },
128
+ {
129
+ "name": "inline",
130
+ "prose": "Computes to inline-start inline-end.",
131
+ "type": "value",
132
+ "value": "inline"
133
+ }
134
+ ],
91
135
  "styleDeclaration": [
92
136
  "margin-trim",
93
137
  "marginTrim"
94
138
  ]
95
139
  },
96
- "padding-top": {
140
+ {
97
141
  "name": "padding-top",
98
142
  "value": "<length-percentage [0,∞]>",
99
143
  "initial": "0",
@@ -108,7 +152,7 @@
108
152
  "paddingTop"
109
153
  ]
110
154
  },
111
- "padding-right": {
155
+ {
112
156
  "name": "padding-right",
113
157
  "value": "<length-percentage [0,∞]>",
114
158
  "initial": "0",
@@ -123,7 +167,7 @@
123
167
  "paddingRight"
124
168
  ]
125
169
  },
126
- "padding-bottom": {
170
+ {
127
171
  "name": "padding-bottom",
128
172
  "value": "<length-percentage [0,∞]>",
129
173
  "initial": "0",
@@ -138,7 +182,7 @@
138
182
  "paddingBottom"
139
183
  ]
140
184
  },
141
- "padding-left": {
185
+ {
142
186
  "name": "padding-left",
143
187
  "value": "<length-percentage [0,∞]>",
144
188
  "initial": "0",
@@ -153,7 +197,7 @@
153
197
  "paddingLeft"
154
198
  ]
155
199
  },
156
- "padding": {
200
+ {
157
201
  "name": "padding",
158
202
  "value": "<'padding-top'>{1,4}",
159
203
  "initial": "0",
@@ -167,20 +211,199 @@
167
211
  "padding"
168
212
  ]
169
213
  }
170
- },
171
- "atrules": {},
172
- "valuespaces": {
173
- "<visual-box>": {
214
+ ],
215
+ "atrules": [],
216
+ "selectors": [],
217
+ "values": [
218
+ {
219
+ "name": "<visual-box>",
220
+ "type": "type",
174
221
  "value": "content-box | padding-box | border-box"
175
222
  },
176
- "<layout-box>": {
223
+ {
224
+ "name": "<layout-box>",
225
+ "type": "type",
177
226
  "value": "content-box | padding-box | border-box | margin-box"
178
227
  },
179
- "<paint-box>": {
228
+ {
229
+ "name": "<paint-box>",
230
+ "type": "type",
180
231
  "value": "content-box | padding-box | border-box | fill-box | stroke-box"
181
232
  },
182
- "<coord-box>": {
233
+ {
234
+ "name": "<coord-box>",
235
+ "type": "type",
183
236
  "value": "content-box | padding-box | border-box | fill-box | stroke-box | view-box"
184
237
  }
185
- }
238
+ ],
239
+ "warnings": [
240
+ {
241
+ "msg": "Dangling value",
242
+ "name": "content-box",
243
+ "prose": "Refers to the content box or content edge. (In an SVG context, treated as fill-box.)",
244
+ "type": "value",
245
+ "value": "content-box",
246
+ "for": "<box>"
247
+ },
248
+ {
249
+ "msg": "Dangling value",
250
+ "name": "content-box",
251
+ "prose": "Refers to the content box or content edge. (In an SVG context, treated as fill-box.)",
252
+ "type": "value",
253
+ "value": "content-box",
254
+ "for": "<shape-box>"
255
+ },
256
+ {
257
+ "msg": "Dangling value",
258
+ "name": "content-box",
259
+ "prose": "Refers to the content box or content edge. (In an SVG context, treated as fill-box.)",
260
+ "type": "value",
261
+ "value": "content-box",
262
+ "for": "<geometry-box>"
263
+ },
264
+ {
265
+ "msg": "Dangling value",
266
+ "name": "padding-box",
267
+ "prose": "Refers to the padding box or padding edge. (In an SVG context, treated as fill-box.)",
268
+ "type": "value",
269
+ "value": "padding-box",
270
+ "for": "<box>"
271
+ },
272
+ {
273
+ "msg": "Dangling value",
274
+ "name": "padding-box",
275
+ "prose": "Refers to the padding box or padding edge. (In an SVG context, treated as fill-box.)",
276
+ "type": "value",
277
+ "value": "padding-box",
278
+ "for": "<shape-box>"
279
+ },
280
+ {
281
+ "msg": "Dangling value",
282
+ "name": "padding-box",
283
+ "prose": "Refers to the padding box or padding edge. (In an SVG context, treated as fill-box.)",
284
+ "type": "value",
285
+ "value": "padding-box",
286
+ "for": "<geometry-box>"
287
+ },
288
+ {
289
+ "msg": "Dangling value",
290
+ "name": "border-box",
291
+ "prose": "Refers to the border box or border edge. (In an SVG context, treated as stroke-box.)",
292
+ "type": "value",
293
+ "value": "border-box",
294
+ "for": "<box>"
295
+ },
296
+ {
297
+ "msg": "Dangling value",
298
+ "name": "border-box",
299
+ "prose": "Refers to the border box or border edge. (In an SVG context, treated as stroke-box.)",
300
+ "type": "value",
301
+ "value": "border-box",
302
+ "for": "<shape-box>"
303
+ },
304
+ {
305
+ "msg": "Dangling value",
306
+ "name": "border-box",
307
+ "prose": "Refers to the border box or border edge. (In an SVG context, treated as stroke-box.)",
308
+ "type": "value",
309
+ "value": "border-box",
310
+ "for": "<geometry-box>"
311
+ },
312
+ {
313
+ "msg": "Dangling value",
314
+ "name": "margin-box",
315
+ "prose": "Refers to the margin box or margin edge. (In an SVG context, treated as stroke-box.)",
316
+ "type": "value",
317
+ "value": "margin-box",
318
+ "for": "<box>"
319
+ },
320
+ {
321
+ "msg": "Dangling value",
322
+ "name": "margin-box",
323
+ "prose": "Refers to the margin box or margin edge. (In an SVG context, treated as stroke-box.)",
324
+ "type": "value",
325
+ "value": "margin-box",
326
+ "for": "<shape-box>"
327
+ },
328
+ {
329
+ "msg": "Dangling value",
330
+ "name": "margin-box",
331
+ "prose": "Refers to the margin box or margin edge. (In an SVG context, treated as stroke-box.)",
332
+ "type": "value",
333
+ "value": "margin-box",
334
+ "for": "<geometry-box>"
335
+ },
336
+ {
337
+ "msg": "Dangling value",
338
+ "name": "fill-box",
339
+ "prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
340
+ "type": "value",
341
+ "value": "fill-box",
342
+ "for": "<box>"
343
+ },
344
+ {
345
+ "msg": "Dangling value",
346
+ "name": "fill-box",
347
+ "prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
348
+ "type": "value",
349
+ "value": "fill-box",
350
+ "for": "<shape-box>"
351
+ },
352
+ {
353
+ "msg": "Dangling value",
354
+ "name": "fill-box",
355
+ "prose": "Refers to the object bounding box or its edges. (In a CSS box context, treated as content-box.)",
356
+ "type": "value",
357
+ "value": "fill-box",
358
+ "for": "<geometry-box>"
359
+ },
360
+ {
361
+ "msg": "Dangling value",
362
+ "name": "stroke-box",
363
+ "prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
364
+ "type": "value",
365
+ "value": "stroke-box",
366
+ "for": "<box>"
367
+ },
368
+ {
369
+ "msg": "Dangling value",
370
+ "name": "stroke-box",
371
+ "prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
372
+ "type": "value",
373
+ "value": "stroke-box",
374
+ "for": "<shape-box>"
375
+ },
376
+ {
377
+ "msg": "Dangling value",
378
+ "name": "stroke-box",
379
+ "prose": "Refers to the stroke bounding box or its edges. (In a CSS box context, treated as border-box.)",
380
+ "type": "value",
381
+ "value": "stroke-box",
382
+ "for": "<geometry-box>"
383
+ },
384
+ {
385
+ "msg": "Dangling value",
386
+ "name": "view-box",
387
+ "prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
388
+ "type": "value",
389
+ "value": "view-box",
390
+ "for": "<box>"
391
+ },
392
+ {
393
+ "msg": "Dangling value",
394
+ "name": "view-box",
395
+ "prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
396
+ "type": "value",
397
+ "value": "view-box",
398
+ "for": "<shape-box>"
399
+ },
400
+ {
401
+ "msg": "Dangling value",
402
+ "name": "view-box",
403
+ "prose": "Refers to the nearest SVG viewport’s origin box, which is a rectangle with the width and height of the SVG viewport, positioned such that its top left corner is anchored at the coordinate system origin. (In a CSS box context, treated as border-box.)",
404
+ "type": "value",
405
+ "value": "view-box",
406
+ "for": "<geometry-box>"
407
+ }
408
+ ]
186
409
  }