-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathcss-grid-3.json
332 lines (332 loc) · 12.6 KB
/
css-grid-3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
{
"spec": {
"title": "CSS Grid Layout Module Level 3",
"url": "https://drafts.csswg.org/css-grid-3/"
},
"properties": [
{
"name": "grid-template-columns",
"newValues": "masonry",
"initial": "none",
"appliesTo": "grid containers",
"inherited": "no",
"percentages": "refer to corresponding dimension of the content area",
"computedValue": "the keyword none or the keyword masonry or a [[computed track list]]",
"animationType": "see CSS Grid Level 2",
"styleDeclaration": [
"grid-template-columns",
"gridTemplateColumns"
]
},
{
"name": "grid-template-rows",
"newValues": "masonry",
"initial": "none",
"appliesTo": "grid containers",
"inherited": "no",
"percentages": "refer to corresponding dimension of the content area",
"computedValue": "the keyword none or the keyword masonry or a [[computed track list]]",
"animationType": "see CSS Grid Level 2",
"styleDeclaration": [
"grid-template-rows",
"gridTemplateRows"
]
},
{
"name": "grid-auto-flow",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-grid-auto-flow",
"value": "[ row | column | row-reverse | column-reverse ] || dense || wrap-reverse",
"initial": "row",
"appliesTo": "grid containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "specified keyword(s)",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "row-reverse",
"prose": "This specification extends the grid-auto-flow property to add row-reverse, column-reverse, and wrap-reverse, which reverse the directions of the grid item placement algorithm.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-grid-auto-flow-row-reverse",
"type": "value",
"value": "row-reverse"
},
{
"name": "column-reverse",
"prose": "This specification extends the grid-auto-flow property to add row-reverse, column-reverse, and wrap-reverse, which reverse the directions of the grid item placement algorithm.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-grid-auto-flow-column-reverse",
"type": "value",
"value": "column-reverse"
},
{
"name": "wrap-reverse",
"prose": "This specification extends the grid-auto-flow property to add row-reverse, column-reverse, and wrap-reverse, which reverse the directions of the grid item placement algorithm.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-grid-auto-flow-wrap-reverse",
"type": "value",
"value": "wrap-reverse"
}
],
"styleDeclaration": [
"grid-auto-flow",
"gridAutoFlow"
]
},
{
"name": "display",
"newValues": "masonry | inline-masonry",
"values": [
{
"name": "masonry",
"prose": "This value causes an element to generate a masonry container box that is block-level when placed in flow layout.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-display-masonry",
"type": "value",
"value": "masonry"
},
{
"name": "inline-masonry",
"prose": "This value causes an element to generate a masonry container box that is inline-level when placed in flow layout.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-display-inline-masonry",
"type": "value",
"value": "inline-masonry"
}
],
"styleDeclaration": [
"display"
]
},
{
"name": "masonry-direction",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-direction",
"value": "row | column | row-reverse | column-reverse",
"initial": "column",
"appliesTo": "masonry containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "as specified",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "column",
"prose": "The masonry container’s stacking axis is its block axis, and masonry layout starts from its block-start edge.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-direction-column",
"type": "value",
"value": "column"
},
{
"name": "column-reverse",
"prose": "The masonry container’s stacking axis is its block axis, and masonry layout starts from its block-end edge.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-direction-column-reverse",
"type": "value",
"value": "column-reverse"
},
{
"name": "row",
"prose": "The masonry container’s stacking axis is its inline axis, and masonry layout starts from its inline-start edge.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-direction-row",
"type": "value",
"value": "row"
},
{
"name": "row-reverse",
"prose": "The masonry container’s stacking axis is its inline axis, and masonry layout starts from its inline-end edge.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-direction-row-reverse",
"type": "value",
"value": "row-reverse"
}
],
"styleDeclaration": [
"masonry-direction",
"masonryDirection"
]
},
{
"name": "masonry-fill",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-fill",
"value": "tie-start | tie-end",
"initial": "normal",
"appliesTo": "masonry containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "as specified",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "tie-start",
"prose": "Ties are broken by putting the item in the start-most tied position.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-tie-start",
"type": "value",
"value": "tie-start"
},
{
"name": "tie-end",
"prose": "Ties are broken by putting the item in the end-most tied position.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-fill-tie-end",
"type": "value",
"value": "tie-end"
}
],
"styleDeclaration": [
"masonry-fill",
"masonryFill"
]
},
{
"name": "masonry-flow",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-flow",
"value": "<'masonry-direction'> || <'masonry-fill'>",
"initial": "see individual properties",
"appliesTo": "see individual properties",
"inherited": "see individual properties",
"percentages": "see individual properties",
"computedValue": "see individual properties",
"animationType": "see individual properties",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"masonry-flow",
"masonryFlow"
]
},
{
"name": "masonry",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry",
"value": "<'masonry-template-areas'> || <'masonry-template-tracks'> || <'masonry-direction'> || <'masonry-fill'>",
"initial": "see individual properties",
"appliesTo": "see individual properties",
"inherited": "see individual properties",
"percentages": "see individual properties",
"computedValue": "see individual properties",
"animationType": "see individual properties",
"canonicalOrder": "per grammar",
"styleDeclaration": [
"masonry"
]
},
{
"name": "masonry-template-tracks",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-template-tracks",
"value": "none | <track-list> | <masonry-auto-track-list> | subgrid <line-name-list>?",
"initial": "repeat(auto-areas, auto)",
"appliesTo": "masonry containers",
"inherited": "no",
"percentages": "refer to corresponding dimension of the content area",
"computedValue": "by computed value type per item in the computed track list",
"canonicalOrder": "per grammar",
"animationType": "if list lengths match, by computed value type; otherwise, discrete",
"styleDeclaration": [
"masonry-template-tracks",
"masonryTemplateTracks"
]
},
{
"name": "masonry-template-areas",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-template-areas",
"value": "none | <string>",
"initial": "none",
"appliesTo": "masonry containers",
"inherited": "no",
"percentages": "n/a",
"computedValue": "the keyword none or a string",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"masonry-template-areas",
"masonryTemplateAreas"
]
},
{
"name": "masonry-auto-tracks",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-auto-tracks",
"value": "<'grid-auto-columns'>",
"initial": "auto",
"appliesTo": "grid containers",
"inherited": "no",
"percentages": "refer to corresponding dimension of the content area",
"computedValue": "a computed track list",
"canonicalOrder": "per grammar",
"animationType": "if the list lengths match, by computed value type per item; discrete otherwise",
"styleDeclaration": [
"masonry-auto-tracks",
"masonryAutoTracks"
]
},
{
"name": "masonry-slack",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-slack",
"value": "<length-percentage> | infinite",
"initial": "1em",
"appliesTo": "masonry containers",
"inherited": "no",
"percentages": "relative to the grid-axis content box size of the masonry container",
"computedValue": "a computed <length-percentage> value",
"canonicalOrder": "per grammar",
"animationType": "as length",
"values": [
{
"name": "<length-percentage>",
"prose": "Specifies the tie threshold for the masonry container. Placement positions are considered to be equally good (“tied”) if they are within the specified distance from the shortest position.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-slack-length-percentage",
"type": "value",
"value": "<length-percentage>"
},
{
"name": "infinite",
"prose": "Specifies an infinite tie threshold. This makes items distribute themselves strictly in order, without considering the length of the tracks at all.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-masonry-slack-infinite",
"type": "value",
"value": "infinite"
}
],
"styleDeclaration": [
"masonry-slack",
"masonrySlack"
]
},
{
"name": "masonry-track-start",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-track-start",
"styleDeclaration": [
"masonry-track-start",
"masonryTrackStart"
]
},
{
"name": "masonry-track-end",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-track-end",
"styleDeclaration": [
"masonry-track-end",
"masonryTrackEnd"
]
},
{
"name": "masonry-track",
"href": "https://drafts.csswg.org/css-grid-3/#propdef-masonry-track",
"styleDeclaration": [
"masonry-track",
"masonryTrack"
]
}
],
"atrules": [],
"selectors": [],
"values": [
{
"name": "<masonry-auto-track-list>",
"href": "https://drafts.csswg.org/css-grid-3/#typedef-masonry-auto-track-list",
"type": "type",
"value": "[ <line-names>? [ <track-size> | <track-repeat> ] ]* <line-names>? <auto-repeat> <line-names>? [ [ <track-size> | <track-repeat> ] <line-names>? ]*"
}
],
"warnings": [
{
"msg": "Dangling value",
"name": "auto-areas",
"prose": "The new auto-areas value for the repeat() notation represents the number of repetitions necessary for the total number of explicit tracks to match the grid-template-areas / masonry-template-areas value in effect in the corresponding axis. If multiple tracks are listed for the repetition, the final repetition is truncated as necessary to produce the correct number of tracks.",
"href": "https://drafts.csswg.org/css-grid-3/#valdef-repeat-auto-areas",
"type": "value",
"value": "auto-areas",
"for": "repeat()"
}
]
}