@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/compositing.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "Compositing and Blending Level 2",
4
4
  "url": "https://drafts.fxtf.org/compositing-2/"
5
5
  },
6
- "properties": {
7
- "mix-blend-mode": {
6
+ "properties": [
7
+ {
8
8
  "name": "mix-blend-mode",
9
9
  "value": "<blend-mode> | plus-darker | plus-lighter",
10
10
  "initial": "normal",
@@ -20,7 +20,7 @@
20
20
  "mixBlendMode"
21
21
  ]
22
22
  },
23
- "isolation": {
23
+ {
24
24
  "name": "isolation",
25
25
  "value": "<isolation-mode>",
26
26
  "initial": "auto",
@@ -35,7 +35,7 @@
35
35
  "isolation"
36
36
  ]
37
37
  },
38
- "background-blend-mode": {
38
+ {
39
39
  "name": "background-blend-mode",
40
40
  "value": "<mix-blend-mode>#",
41
41
  "initial": "normal",
@@ -51,17 +51,106 @@
51
51
  "backgroundBlendMode"
52
52
  ]
53
53
  }
54
- },
55
- "atrules": {},
56
- "valuespaces": {
57
- "<blend-mode>": {
58
- "value": "normal | multiply | screen | overlay | darken | lighten | color-dodge |color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"
54
+ ],
55
+ "atrules": [],
56
+ "selectors": [],
57
+ "values": [
58
+ {
59
+ "name": "<blend-mode>",
60
+ "type": "type",
61
+ "value": "normal | multiply | screen | overlay | darken | lighten | color-dodge |color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",
62
+ "values": [
63
+ {
64
+ "name": "normal",
65
+ "type": "value",
66
+ "value": "normal"
67
+ },
68
+ {
69
+ "name": "multiply",
70
+ "type": "value",
71
+ "value": "multiply"
72
+ },
73
+ {
74
+ "name": "screen",
75
+ "type": "value",
76
+ "value": "screen"
77
+ },
78
+ {
79
+ "name": "overlay",
80
+ "type": "value",
81
+ "value": "overlay"
82
+ },
83
+ {
84
+ "name": "darken",
85
+ "type": "value",
86
+ "value": "darken"
87
+ },
88
+ {
89
+ "name": "lighten",
90
+ "type": "value",
91
+ "value": "lighten"
92
+ },
93
+ {
94
+ "name": "color-dodge",
95
+ "type": "value",
96
+ "value": "color-dodge"
97
+ },
98
+ {
99
+ "name": "color-burn",
100
+ "type": "value",
101
+ "value": "color-burn"
102
+ },
103
+ {
104
+ "name": "hard-light",
105
+ "type": "value",
106
+ "value": "hard-light"
107
+ },
108
+ {
109
+ "name": "soft-light",
110
+ "type": "value",
111
+ "value": "soft-light"
112
+ },
113
+ {
114
+ "name": "difference",
115
+ "type": "value",
116
+ "value": "difference"
117
+ },
118
+ {
119
+ "name": "exclusion",
120
+ "type": "value",
121
+ "value": "exclusion"
122
+ },
123
+ {
124
+ "name": "hue",
125
+ "type": "value",
126
+ "value": "hue"
127
+ },
128
+ {
129
+ "name": "saturation",
130
+ "type": "value",
131
+ "value": "saturation"
132
+ },
133
+ {
134
+ "name": "color",
135
+ "type": "value",
136
+ "value": "color"
137
+ },
138
+ {
139
+ "name": "luminosity",
140
+ "type": "value",
141
+ "value": "luminosity"
142
+ }
143
+ ]
59
144
  },
60
- "<isolation-mode>": {
145
+ {
146
+ "name": "<isolation-mode>",
147
+ "type": "type",
61
148
  "value": "auto | isolate"
62
149
  },
63
- "<composite-mode>": {
150
+ {
151
+ "name": "<composite-mode>",
152
+ "type": "type",
64
153
  "value": "clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter"
65
154
  }
66
- }
155
+ ]
67
156
  }
package/css-align.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Box Alignment Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-align-3/"
5
5
  },
6
- "properties": {
7
- "align-content": {
6
+ "properties": [
7
+ {
8
8
  "name": "align-content",
9
9
  "value": "normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",
10
10
  "initial": "normal",
@@ -14,12 +14,20 @@
14
14
  "computedValue": "specified keyword(s)",
15
15
  "canonicalOrder": "per grammar",
16
16
  "animationType": "discrete",
17
+ "values": [
18
+ {
19
+ "name": "normal",
20
+ "prose": "Aligns the contents of the box as a whole (as the alignment subject) within the box itself (as the alignment container): along the inline/row/main axis of the box (for justify-content) or the block/column/cross axis of the box (for align-content). Values other than normal are defined in § 4 Alignment Keywords, above.",
21
+ "type": "value",
22
+ "value": "normal"
23
+ }
24
+ ],
17
25
  "styleDeclaration": [
18
26
  "align-content",
19
27
  "alignContent"
20
28
  ]
21
29
  },
22
- "justify-content": {
30
+ {
23
31
  "name": "justify-content",
24
32
  "value": "normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",
25
33
  "initial": "normal",
@@ -29,12 +37,32 @@
29
37
  "computedValue": "specified keyword(s)",
30
38
  "canonicalOrder": "per grammar",
31
39
  "animationType": "discrete",
40
+ "values": [
41
+ {
42
+ "name": "left",
43
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s line-left or physical left edge, whichever is in the appropriate axis. If the property’s axis is not parallel with either left↔right axis, this value behaves as start. Currently, the only case where the property’s axis is not parallel with either left↔right axis is in a column flexbox.",
44
+ "type": "value",
45
+ "value": "left"
46
+ },
47
+ {
48
+ "name": "right",
49
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s line-right or physical right edge, whichever is in the appropriate axis. If the property’s axis is not parallel with either left↔right axis, this value behaves as start. Currently, the only case where the property’s axis is not parallel with either left↔right axis is in a column flexbox.",
50
+ "type": "value",
51
+ "value": "right"
52
+ },
53
+ {
54
+ "name": "normal",
55
+ "prose": "Aligns the contents of the box as a whole (as the alignment subject) within the box itself (as the alignment container): along the inline/row/main axis of the box (for justify-content) or the block/column/cross axis of the box (for align-content). Values other than normal are defined in § 4 Alignment Keywords, above.",
56
+ "type": "value",
57
+ "value": "normal"
58
+ }
59
+ ],
32
60
  "styleDeclaration": [
33
61
  "justify-content",
34
62
  "justifyContent"
35
63
  ]
36
64
  },
37
- "place-content": {
65
+ {
38
66
  "name": "place-content",
39
67
  "value": "<'align-content'> <'justify-content'>?",
40
68
  "initial": "normal",
@@ -49,7 +77,7 @@
49
77
  "placeContent"
50
78
  ]
51
79
  },
52
- "justify-self": {
80
+ {
53
81
  "name": "justify-self",
54
82
  "value": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",
55
83
  "initial": "auto",
@@ -59,12 +87,44 @@
59
87
  "computedValue": "specified keyword(s)",
60
88
  "canonicalOrder": "per grammar",
61
89
  "animationType": "discrete",
90
+ "values": [
91
+ {
92
+ "name": "left",
93
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s line-left or physical left edge, whichever is in the appropriate axis. If the property’s axis is not parallel with either left↔right axis, this value behaves as start. Currently, the only case where the property’s axis is not parallel with either left↔right axis is in a column flexbox.",
94
+ "type": "value",
95
+ "value": "left"
96
+ },
97
+ {
98
+ "name": "right",
99
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s line-right or physical right edge, whichever is in the appropriate axis. If the property’s axis is not parallel with either left↔right axis, this value behaves as start. Currently, the only case where the property’s axis is not parallel with either left↔right axis is in a column flexbox.",
100
+ "type": "value",
101
+ "value": "right"
102
+ },
103
+ {
104
+ "name": "auto",
105
+ "prose": "Behaves as normal if the box has no parent, or when determining the actual position of an absolutely positioned box. It behaves as the computed justify-items value of the parent box (minus any legacy keywords) otherwise (including when determining the static position of an absolutely positioned box).",
106
+ "type": "value",
107
+ "value": "auto"
108
+ },
109
+ {
110
+ "name": "normal",
111
+ "prose": "Represents the “default” alignment for the layout mode. Its behavior depends on the layout mode, as described below.",
112
+ "type": "value",
113
+ "value": "normal"
114
+ },
115
+ {
116
+ "name": "stretch",
117
+ "prose": "When the box’s computed width/height (as appropriate to the axis) is auto and neither of its margins (in the appropriate axis) are auto, sets the box’s used size to the length necessary to make its outer size as close to filling the alignment container as possible while still respecting the constraints imposed by min-height/min-width/max-height/max-width. Unless otherwise specified, this value falls back to flex-start generally, and to self-start or self-end if the box has also specified first baseline or last baseline baseline content-alignment (respectively) in the same axis.",
118
+ "type": "value",
119
+ "value": "stretch"
120
+ }
121
+ ],
62
122
  "styleDeclaration": [
63
123
  "justify-self",
64
124
  "justifySelf"
65
125
  ]
66
126
  },
67
- "align-self": {
127
+ {
68
128
  "name": "align-self",
69
129
  "value": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",
70
130
  "initial": "auto",
@@ -74,12 +134,32 @@
74
134
  "computedValue": "specified keyword(s)",
75
135
  "canonicalOrder": "per grammar",
76
136
  "animationType": "discrete",
137
+ "values": [
138
+ {
139
+ "name": "auto",
140
+ "prose": "Behaves as normal if the box has no parent, or when determining the actual position of an absolutely positioned box. It behaves as the computed align-items value of the parent box (minus any legacy keywords) otherwise (including when determining the static position of an absolutely positioned box).",
141
+ "type": "value",
142
+ "value": "auto"
143
+ },
144
+ {
145
+ "name": "normal",
146
+ "prose": "Represents the “default” alignment for the layout mode, as defined below.",
147
+ "type": "value",
148
+ "value": "normal"
149
+ },
150
+ {
151
+ "name": "stretch",
152
+ "prose": "As defined for justify-self in § 6.1 Inline-Axis (or Main-Axis) Alignment: the justify-self property.",
153
+ "type": "value",
154
+ "value": "stretch"
155
+ }
156
+ ],
77
157
  "styleDeclaration": [
78
158
  "align-self",
79
159
  "alignSelf"
80
160
  ]
81
161
  },
82
- "place-self": {
162
+ {
83
163
  "name": "place-self",
84
164
  "value": "<'align-self'> <'justify-self'>?",
85
165
  "initial": "auto",
@@ -94,7 +174,7 @@
94
174
  "placeSelf"
95
175
  ]
96
176
  },
97
- "justify-items": {
177
+ {
98
178
  "name": "justify-items",
99
179
  "value": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",
100
180
  "initial": "legacy",
@@ -104,12 +184,31 @@
104
184
  "computedValue": "specified keyword(s), except for legacy (see prose)",
105
185
  "canonicalOrder": "per grammar",
106
186
  "animationType": "discrete",
187
+ "values": [
188
+ {
189
+ "name": "left",
190
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s line-left or physical left edge, whichever is in the appropriate axis. If the property’s axis is not parallel with either left↔right axis, this value behaves as start. Currently, the only case where the property’s axis is not parallel with either left↔right axis is in a column flexbox.",
191
+ "type": "value",
192
+ "value": "left"
193
+ },
194
+ {
195
+ "name": "right",
196
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s line-right or physical right edge, whichever is in the appropriate axis. If the property’s axis is not parallel with either left↔right axis, this value behaves as start. Currently, the only case where the property’s axis is not parallel with either left↔right axis is in a column flexbox.",
197
+ "type": "value",
198
+ "value": "right"
199
+ },
200
+ {
201
+ "name": "legacy",
202
+ "value": "legacy",
203
+ "type": "value"
204
+ }
205
+ ],
107
206
  "styleDeclaration": [
108
207
  "justify-items",
109
208
  "justifyItems"
110
209
  ]
111
210
  },
112
- "align-items": {
211
+ {
113
212
  "name": "align-items",
114
213
  "value": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",
115
214
  "initial": "normal",
@@ -124,7 +223,7 @@
124
223
  "alignItems"
125
224
  ]
126
225
  },
127
- "place-items": {
226
+ {
128
227
  "name": "place-items",
129
228
  "value": "<'align-items'> <'justify-items'>?",
130
229
  "initial": "see individual properties",
@@ -139,7 +238,7 @@
139
238
  "placeItems"
140
239
  ]
141
240
  },
142
- "row-gap": {
241
+ {
143
242
  "name": "row-gap",
144
243
  "value": "normal | <length-percentage [0,∞]>",
145
244
  "initial": "normal",
@@ -149,12 +248,20 @@
149
248
  "computedValue": "specified keyword, else a computed <length-percentage> value",
150
249
  "canonicalOrder": "per grammar",
151
250
  "animationType": "by computed value type",
251
+ "values": [
252
+ {
253
+ "name": "normal",
254
+ "prose": "The normal represents a used value of 1em on multi-column containers, and a used value of 0px in all other contexts.",
255
+ "type": "value",
256
+ "value": "normal"
257
+ }
258
+ ],
152
259
  "styleDeclaration": [
153
260
  "row-gap",
154
261
  "rowGap"
155
262
  ]
156
263
  },
157
- "column-gap": {
264
+ {
158
265
  "name": "column-gap",
159
266
  "value": "normal | <length-percentage [0,∞]>",
160
267
  "initial": "normal",
@@ -164,12 +271,20 @@
164
271
  "computedValue": "specified keyword, else a computed <length-percentage> value",
165
272
  "canonicalOrder": "per grammar",
166
273
  "animationType": "by computed value type",
274
+ "values": [
275
+ {
276
+ "name": "normal",
277
+ "prose": "The normal represents a used value of 1em on multi-column containers, and a used value of 0px in all other contexts.",
278
+ "type": "value",
279
+ "value": "normal"
280
+ }
281
+ ],
167
282
  "styleDeclaration": [
168
283
  "column-gap",
169
284
  "columnGap"
170
285
  ]
171
286
  },
172
- "gap": {
287
+ {
173
288
  "name": "gap",
174
289
  "value": "<'row-gap'> <'column-gap'>?",
175
290
  "initial": "see individual properties",
@@ -179,48 +294,203 @@
179
294
  "computedValue": "see individual properties",
180
295
  "canonicalOrder": "per grammar",
181
296
  "animationType": "by computed value type",
297
+ "values": [
298
+ {
299
+ "name": "normal",
300
+ "prose": "The normal represents a used value of 1em on multi-column containers, and a used value of 0px in all other contexts.",
301
+ "type": "value",
302
+ "value": "normal"
303
+ }
304
+ ],
182
305
  "styleDeclaration": [
183
306
  "gap"
184
307
  ]
185
308
  },
186
- "grid-row-gap": {
309
+ {
187
310
  "name": "grid-row-gap",
188
311
  "styleDeclaration": [
189
312
  "grid-row-gap",
190
313
  "gridRowGap"
191
314
  ]
192
315
  },
193
- "grid-column-gap": {
316
+ {
194
317
  "name": "grid-column-gap",
195
318
  "styleDeclaration": [
196
319
  "grid-column-gap",
197
320
  "gridColumnGap"
198
321
  ]
199
322
  },
200
- "grid-gap": {
323
+ {
201
324
  "name": "grid-gap",
202
325
  "styleDeclaration": [
203
326
  "grid-gap",
204
327
  "gridGap"
205
328
  ]
206
329
  }
207
- },
208
- "atrules": {},
209
- "valuespaces": {
210
- "<self-position>": {
211
- "value": "center | start | end | self-start | self-end | flex-start | flex-end"
330
+ ],
331
+ "atrules": [],
332
+ "selectors": [],
333
+ "values": [
334
+ {
335
+ "name": "<self-position>",
336
+ "type": "type",
337
+ "value": "center | start | end | self-start | self-end | flex-start | flex-end",
338
+ "values": [
339
+ {
340
+ "name": "center",
341
+ "prose": "Centers the alignment subject within its alignment container.",
342
+ "type": "value",
343
+ "value": "center"
344
+ },
345
+ {
346
+ "name": "start",
347
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s start edge in the appropriate axis.",
348
+ "type": "value",
349
+ "value": "start"
350
+ },
351
+ {
352
+ "name": "end",
353
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s end edge in the appropriate axis.",
354
+ "type": "value",
355
+ "value": "end"
356
+ },
357
+ {
358
+ "name": "self-start",
359
+ "prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the alignment subject’s start side in the appropriate axis.",
360
+ "type": "value",
361
+ "value": "self-start"
362
+ },
363
+ {
364
+ "name": "self-end",
365
+ "prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the alignment subject’s end side in the appropriate axis.",
366
+ "type": "value",
367
+ "value": "self-end"
368
+ },
369
+ {
370
+ "name": "flex-start",
371
+ "prose": "Only used in flex layout. [CSS-FLEXBOX-1] Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-start or cross-start side, as appropriate. When used outside of a flex formatting context, this value behaves as start. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as start when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as start when used in the content-distribution properties.",
372
+ "type": "value",
373
+ "value": "flex-start"
374
+ },
375
+ {
376
+ "name": "flex-end",
377
+ "prose": "Only used in flex layout. Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-end or cross-end side, as appropriate. When used outside of a flex formatting context, this value behaves as end. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as end when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as end when used in the content-distribution properties.",
378
+ "type": "value",
379
+ "value": "flex-end"
380
+ }
381
+ ]
212
382
  },
213
- "<content-position>": {
214
- "value": "center | start | end | flex-start | flex-end"
383
+ {
384
+ "name": "<content-position>",
385
+ "type": "type",
386
+ "value": "center | start | end | flex-start | flex-end",
387
+ "values": [
388
+ {
389
+ "name": "center",
390
+ "prose": "Centers the alignment subject within its alignment container.",
391
+ "type": "value",
392
+ "value": "center"
393
+ },
394
+ {
395
+ "name": "start",
396
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s start edge in the appropriate axis.",
397
+ "type": "value",
398
+ "value": "start"
399
+ },
400
+ {
401
+ "name": "end",
402
+ "prose": "Aligns the alignment subject to be flush with the alignment container’s end edge in the appropriate axis.",
403
+ "type": "value",
404
+ "value": "end"
405
+ },
406
+ {
407
+ "name": "flex-start",
408
+ "prose": "Only used in flex layout. [CSS-FLEXBOX-1] Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-start or cross-start side, as appropriate. When used outside of a flex formatting context, this value behaves as start. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as start when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as start when used in the content-distribution properties.",
409
+ "type": "value",
410
+ "value": "flex-start"
411
+ },
412
+ {
413
+ "name": "flex-end",
414
+ "prose": "Only used in flex layout. Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-end or cross-end side, as appropriate. When used outside of a flex formatting context, this value behaves as end. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as end when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as end when used in the content-distribution properties.",
415
+ "type": "value",
416
+ "value": "flex-end"
417
+ }
418
+ ]
215
419
  },
216
- "<baseline-position>": {
217
- "value": "[ first | last ]? && baseline"
420
+ {
421
+ "name": "<baseline-position>",
422
+ "type": "type",
423
+ "value": "[ first | last ]? && baseline",
424
+ "values": [
425
+ {
426
+ "name": "baseline",
427
+ "prose": "Computes to first baseline, defined below.",
428
+ "type": "value",
429
+ "value": "baseline"
430
+ },
431
+ {
432
+ "name": "first baseline",
433
+ "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).",
434
+ "type": "value",
435
+ "value": "first baseline"
436
+ },
437
+ {
438
+ "name": "last baseline",
439
+ "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).",
440
+ "type": "value",
441
+ "value": "last baseline"
442
+ }
443
+ ]
218
444
  },
219
- "<content-distribution>": {
220
- "value": "space-between | space-around | space-evenly | stretch"
445
+ {
446
+ "name": "<content-distribution>",
447
+ "type": "type",
448
+ "value": "space-between | space-around | space-evenly | stretch",
449
+ "values": [
450
+ {
451
+ "name": "space-between",
452
+ "prose": "The alignment subjects are evenly distributed in the alignment container. The first alignment subject is placed flush with the start edge of the alignment container, the last alignment subject is placed flush with the end edge of the alignment container, and the remaining alignment subjects are distributed so that the spacing between any two adjacent alignment subjects is the same. The default fallback alignment for this value is flex-start. (For layout modes other than flex layout, flex-start is identical to start.)",
453
+ "type": "value",
454
+ "value": "space-between"
455
+ },
456
+ {
457
+ "name": "space-around",
458
+ "prose": "The alignment subjects are evenly distributed in the alignment container, with a half-size space on either end. The alignment subjects are distributed so that the spacing between any two adjacent alignment subjects is the same, and the spacing before the first and after the last alignment subject is half the size of the other spacing. The default fallback alignment for this value is safe center.",
459
+ "type": "value",
460
+ "value": "space-around"
461
+ },
462
+ {
463
+ "name": "space-evenly",
464
+ "prose": "The alignment subjects are evenly distributed in the alignment container, with a full-size space on either end. The alignment subjects are distributed so that the spacing between any two adjacent alignment subjects, before the first alignment subject, and after the last alignment subject is the same. The default fallback alignment for this value is safe center.",
465
+ "type": "value",
466
+ "value": "space-evenly"
467
+ },
468
+ {
469
+ "name": "stretch",
470
+ "prose": "If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container. The default fallback alignment for this value is flex-start. (For layout modes other than flex layout, flex-start is identical to start.)",
471
+ "type": "value",
472
+ "value": "stretch"
473
+ }
474
+ ]
221
475
  },
222
- "<overflow-position>": {
223
- "value": "unsafe | safe"
476
+ {
477
+ "name": "<overflow-position>",
478
+ "type": "type",
479
+ "value": "unsafe | safe",
480
+ "values": [
481
+ {
482
+ "name": "safe",
483
+ "prose": "If the size of the alignment subject overflows the alignment container, the alignment subject is instead aligned as if the alignment mode were start.",
484
+ "type": "value",
485
+ "value": "safe"
486
+ },
487
+ {
488
+ "name": "unsafe",
489
+ "prose": "Regardless of the relative sizes of the alignment subject and alignment container, the given alignment value is honored.",
490
+ "type": "value",
491
+ "value": "unsafe"
492
+ }
493
+ ]
224
494
  }
225
- }
495
+ ]
226
496
  }