-
Notifications
You must be signed in to change notification settings - Fork 78
/
css-multicol-2.json
254 lines (254 loc) · 10.6 KB
/
css-multicol-2.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
{
"spec": {
"title": "CSS Multi-column Layout Module Level 2",
"url": "https://drafts.csswg.org/css-multicol-2/"
},
"properties": [
{
"name": "column-width",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-width",
"value": "auto | <length [0,∞]>",
"initial": "auto",
"appliesTo": "block containers except table wrapper boxes",
"inherited": "no",
"percentages": "N/A",
"computedValue": "the keyword auto or an absolute length",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"values": [
{
"name": "auto",
"prose": "means that the column width will be determined by other properties (e.g., column-count, if it has a non-auto value).",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-width-auto",
"type": "value",
"value": "auto"
},
{
"name": "<length [0,∞]>",
"prose": "describes the optimal column width. The actual column width may be wider (to fill the available space), or narrower (only if the available space is smaller than the specified column width). Negative values are not allowed. Used values will be clamped to a minimum of 1px.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-width-length-0",
"type": "value",
"value": "<length [0,∞]>"
}
],
"styleDeclaration": [
"column-width",
"columnWidth"
]
},
{
"name": "column-count",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-count",
"value": "auto | <integer [1,∞]>",
"initial": "auto",
"appliesTo": "block containers except table wrapper boxes",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "by computed value",
"values": [
{
"name": "auto",
"prose": "means that the number of columns will be determined by other properties (e.g., column-width, if it has a non-auto value).",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-count-auto",
"type": "value",
"value": "auto"
},
{
"name": "<integer [1,∞]>",
"prose": "describes the optimal number of columns into which the content of the element will be flowed. Values must be greater than 0. If both column-width and column-count have non-auto values, the integer value describes the maximum number of columns.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-count-integer-1",
"type": "value",
"value": "<integer [1,∞]>"
}
],
"styleDeclaration": [
"column-count",
"columnCount"
]
},
{
"name": "columns",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-columns",
"value": "<'column-width'> || <'column-count'>",
"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": [
"columns"
]
},
{
"name": "column-rule-color",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-rule-color",
"value": "<color>",
"initial": "currentcolor",
"appliesTo": "multicol containers",
"inherited": "no",
"percentages": "N/A",
"computedValue": "computed color",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"values": [
{
"name": "<color>",
"prose": "Specifies the color of the column rule.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-rule-color-color",
"type": "value",
"value": "<color>"
}
],
"styleDeclaration": [
"column-rule-color",
"columnRuleColor"
]
},
{
"name": "column-rule-style",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-rule-style",
"value": "<line-style>",
"initial": "none",
"appliesTo": "multicol containers",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"styleDeclaration": [
"column-rule-style",
"columnRuleStyle"
]
},
{
"name": "column-rule-width",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-rule-width",
"value": "<line-width>",
"initial": "medium",
"appliesTo": "multicol containers",
"inherited": "no",
"percentages": "N/A",
"computedValue": "absolute length, snapped as a border width; 0 if the column rule style is none or hidden",
"canonicalOrder": "per grammar",
"animationType": "by computed value type",
"styleDeclaration": [
"column-rule-width",
"columnRuleWidth"
]
},
{
"name": "column-rule",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-rule",
"value": "<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",
"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": [
"column-rule",
"columnRule"
]
},
{
"name": "column-span",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-span",
"value": "none | <integer [1,∞]> | all | auto",
"initial": "none",
"appliesTo": "in-flow block-level elements",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified value",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "none",
"prose": "The element does not span multiple columns.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-none",
"type": "value",
"value": "none"
},
{
"name": "all",
"prose": "The element forces a column break and is taken out of flow to span across all columns of the nearest multicol ancestor in the same block formatting context. Content in the normal flow that appears before the element is automatically balanced across all columns in the immediately preceding multi-column line before the element appears, and any subsequent content flows into a new multi-column line after the element. The element establishes an independent formatting context.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-all",
"type": "value",
"value": "all"
},
{
"name": "<integer [1,∞]>",
"prose": "The element spans the specified number of columns. Values must be greater than 0. If the specified integer value is equal to, or larger than the number of columns in the multicol element, the number of columns spanned will be the same as if column-span: all had been specified. This definition is insufficient. Does column-span: 1 count as column-span: none, or does it create a spanner (which is a BFC)? Which columns does it span? How does that affect height calculations, and interact with column-fill",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-integer-1",
"type": "value",
"value": "<integer [1,∞]>"
},
{
"name": "auto",
"prose": "The number of columns spanned by the element depends on its min-content outer size in the inline direction of the multi-column container. If it is smaller than the used value of column-width, this is the same as if column-span: none had been specified. Otherwise, the number of columns spanned is the smallest positive integer n for which n × column-width + (n - 1) × column-gap is larger than the min-content outer size. If this would be larger than the number of columns, the number of columns spanned will be the same as if column-span: all had been specified. If column-span: 1 does not do the same as column-span: none, should this behave as column-span: 1 or as column-span: none when the element is small enough?",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-span-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"column-span",
"columnSpan"
]
},
{
"name": "column-fill",
"href": "https://drafts.csswg.org/css-multicol-2/#propdef-column-fill",
"value": "auto | balance | balance-all",
"initial": "balance",
"appliesTo": "multicol containers",
"inherited": "no",
"percentages": "N/A",
"computedValue": "specified keyword",
"canonicalOrder": "per grammar",
"animationType": "discrete",
"values": [
{
"name": "balance",
"prose": "Balance content equally between columns, as far as possible. In fragmented contexts, only the last fragment is balanced.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-fill-balance",
"type": "value",
"value": "balance"
},
{
"name": "balance-all",
"prose": "Balance content equally between columns, as far as possible. In fragmented contexts, all fragments are balanced.",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-fill-balance-all",
"type": "value",
"value": "balance-all"
},
{
"name": "auto",
"prose": "fill columns sequentially",
"href": "https://drafts.csswg.org/css-multicol-2/#valdef-column-fill-auto",
"type": "value",
"value": "auto"
}
],
"styleDeclaration": [
"column-fill",
"columnFill"
]
}
],
"atrules": [],
"selectors": [
{
"name": "::column",
"prose": "The ::column pseudo-element represents the individual columns in a multi-column container. It only exists on multi-column containers.",
"href": "https://drafts.csswg.org/css-multicol-2/#selectordef-column"
}
],
"values": []
}