Skip to content

Commit 2e69fd7

Browse files
authored
Add more keys to flexbox (#2186)
1 parent bb2ad89 commit 2e69fd7

File tree

2 files changed

+238
-12
lines changed

2 files changed

+238
-12
lines changed

features/flexbox.yml

Lines changed: 47 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,63 @@ caniuse: flexbox
66
status:
77
compute_from: css.properties.display.flex
88
compat_features:
9+
- css.properties.align-content
10+
- css.properties.align-content.flex_context
11+
- css.properties.align-content.flex_context.baseline
12+
- css.properties.align-content.flex_context.first_baseline
13+
- css.properties.align-content.flex_context.last_baseline
14+
- css.properties.align-content.flex_context.safe_unsafe
15+
- css.properties.align-content.flex_context.space-evenly
16+
- css.properties.align-content.flex_context.start_end
17+
- css.properties.align-content.flex_context.stretch
18+
- css.properties.align-items
19+
- css.properties.align-items.flex_context
20+
- css.properties.align-items.flex_context.baseline
21+
- css.properties.align-items.flex_context.first_baseline
22+
- css.properties.align-items.flex_context.last_baseline
23+
- css.properties.align-items.flex_context.safe_unsafe
24+
- css.properties.align-items.flex_context.start_end
25+
- css.properties.align-self
26+
- css.properties.align-self.flex_context
27+
- css.properties.align-self.flex_context.baseline
28+
- css.properties.align-self.flex_context.first_baseline
29+
- css.properties.align-self.flex_context.last_baseline
30+
- css.properties.align-self.flex_context.safe_unsafe
31+
- css.properties.align-self.flex_context.start_end
32+
- css.properties.align-self.flex_context.stretch
933
- css.properties.display.flex
1034
- css.properties.display.inline-flex
1135
- css.properties.flex
12-
- css.properties.flex-direction
13-
- css.properties.flex-grow
14-
- css.properties.flex-shrink
15-
- css.properties.order
1636
- css.properties.flex-basis
1737
- css.properties.flex-basis.auto
18-
- css.properties.align-content.flex_context
38+
- css.properties.flex-basis.content
39+
- css.properties.flex-basis.fit-content
40+
- css.properties.flex-basis.max-content
41+
- css.properties.flex-basis.min-content
42+
- css.properties.flex-direction
43+
- css.properties.flex-direction.column
44+
- css.properties.flex-direction.column-reverse
45+
- css.properties.flex-direction.row
46+
- css.properties.flex-direction.row-reverse
1947
- css.properties.flex-flow
48+
- css.properties.flex-grow
49+
- css.properties.flex-shrink
2050
- css.properties.flex-wrap
21-
- css.properties.align-self.flex_context
22-
- css.properties.align-items.flex_context
51+
- css.properties.flex-wrap.nowrap
52+
- css.properties.flex-wrap.wrap
53+
- css.properties.flex-wrap.wrap-reverse
54+
- css.properties.flex.none
55+
- css.properties.justify-content
2356
- css.properties.justify-content.flex_context
24-
- css.properties.justify-items.flex_context
25-
- css.properties.align-content.flex_context.stretch
26-
- css.properties.align-self.flex_context.stretch
57+
- css.properties.justify-content.flex_context.left_right
58+
- css.properties.justify-content.flex_context.safe_unsafe
59+
- css.properties.justify-content.flex_context.space-evenly
60+
- css.properties.justify-content.flex_context.start_end
2761
- css.properties.justify-content.flex_context.stretch
62+
- css.properties.justify-items
63+
- css.properties.justify-items.flex_context
64+
- css.properties.order
2865
- css.properties.place-content.flex_context
2966
- css.properties.place-items.flex_context
3067
- css.properties.place-self.flex_context
31-
- css.properties.align-self.flex_context.baseline
32-
- css.properties.align-items.flex_context.baseline
3368
- css.properties.position.absolutely_positioned_flex_children

features/flexbox.yml.dist

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ compat_features:
2626
# firefox_android: "20"
2727
# safari: "9"
2828
# safari_ios: "9"
29+
- css.properties.align-items
30+
- css.properties.align-self
2931
- css.properties.display.flex
3032
- css.properties.display.inline-flex
3133
- css.properties.flex
3234
- css.properties.flex-direction
3335
- css.properties.flex-grow
3436
- css.properties.flex-shrink
37+
- css.properties.justify-content
3538
- css.properties.order
3639

3740
# baseline: high
@@ -59,9 +62,13 @@ compat_features:
5962
# firefox_android: "28"
6063
# safari: "9"
6164
# safari_ios: "9"
65+
- css.properties.align-content
6266
- css.properties.align-content.flex_context
6367
- css.properties.flex-flow
6468
- css.properties.flex-wrap
69+
- css.properties.flex-wrap.nowrap
70+
- css.properties.flex-wrap.wrap
71+
- css.properties.flex-wrap.wrap-reverse
6572

6673
# baseline: high
6774
# baseline_low_date: 2015-09-30
@@ -89,6 +96,7 @@ compat_features:
8996
# safari_ios: "9"
9097
- css.properties.align-items.flex_context
9198
- css.properties.justify-content.flex_context
99+
- css.properties.justify-items
92100
- css.properties.justify-items.flex_context
93101

94102
# baseline: high
@@ -146,6 +154,20 @@ compat_features:
146154
- css.properties.place-items.flex_context
147155
- css.properties.place-self.flex_context
148156

157+
# baseline: high
158+
# baseline_low_date: 2020-01-15
159+
# baseline_high_date: 2022-07-15
160+
# support:
161+
# chrome: "60"
162+
# chrome_android: "60"
163+
# edge: "79"
164+
# firefox: "52"
165+
# firefox_android: "52"
166+
# safari: "11"
167+
# safari_ios: "11"
168+
- css.properties.align-content.flex_context.space-evenly
169+
- css.properties.justify-content.flex_context.space-evenly
170+
149171
# baseline: high
150172
# baseline_low_date: ≤2020-01-15
151173
# baseline_high_date: ≤2022-07-15
@@ -171,3 +193,172 @@ compat_features:
171193
# safari: "9"
172194
# safari_ios: "9"
173195
- css.properties.align-items.flex_context.baseline
196+
197+
# baseline: high
198+
# baseline_low_date: ≤2020-01-15
199+
# baseline_high_date: ≤2022-07-15
200+
# support:
201+
# chrome: "57"
202+
# chrome_android: "57"
203+
# edge: ≤79
204+
# firefox: "45"
205+
# firefox_android: "45"
206+
# safari: "9"
207+
# safari_ios: "9"
208+
- css.properties.align-content.flex_context.baseline
209+
210+
# baseline: high
211+
# baseline_low_date: ≤2020-01-15
212+
# baseline_high_date: ≤2022-07-15
213+
# support:
214+
# chrome: "59"
215+
# chrome_android: "59"
216+
# edge: ≤79
217+
# firefox: "52"
218+
# firefox_android: "52"
219+
# safari: "11"
220+
# safari_ios: "11"
221+
- css.properties.align-content.flex_context.first_baseline
222+
- css.properties.align-items.flex_context.first_baseline
223+
- css.properties.align-self.flex_context.first_baseline
224+
225+
# baseline: high
226+
# baseline_low_date: 2020-07-28
227+
# baseline_high_date: 2023-01-28
228+
# support:
229+
# chrome: "29"
230+
# chrome_android: "29"
231+
# edge: "12"
232+
# firefox: ≤72
233+
# firefox_android: "79"
234+
# safari: "9"
235+
# safari_ios: "9"
236+
- css.properties.flex-direction.column
237+
- css.properties.flex-direction.row
238+
- css.properties.flex.none
239+
240+
# baseline: high
241+
# baseline_low_date: 2020-09-22
242+
# baseline_high_date: 2023-03-22
243+
# support:
244+
# chrome: "29"
245+
# chrome_android: "29"
246+
# edge: "12"
247+
# firefox: "81"
248+
# firefox_android: "81"
249+
# safari: "9"
250+
# safari_ios: "9"
251+
- css.properties.flex-direction.column-reverse
252+
- css.properties.flex-direction.row-reverse
253+
254+
# baseline: high
255+
# baseline_low_date: 2021-09-02
256+
# baseline_high_date: 2024-03-02
257+
# support:
258+
# chrome: "93"
259+
# chrome_android: "93"
260+
# edge: "93"
261+
# firefox: "52"
262+
# firefox_android: "52"
263+
# safari: "9"
264+
# safari_ios: "9"
265+
- css.properties.justify-content.flex_context.left_right
266+
267+
# baseline: high
268+
# baseline_low_date: 2022-03-14
269+
# baseline_high_date: 2024-09-14
270+
# support:
271+
# chrome: "93"
272+
# chrome_android: "93"
273+
# edge: "93"
274+
# firefox: "45"
275+
# firefox_android: "45"
276+
# safari: "15.4"
277+
# safari_ios: "15.4"
278+
- css.properties.align-items.flex_context.start_end
279+
- css.properties.align-self.flex_context.start_end
280+
- css.properties.justify-content.flex_context.start_end
281+
282+
# baseline: high
283+
# baseline_low_date: 2022-03-14
284+
# baseline_high_date: 2024-09-14
285+
# support:
286+
# chrome: "94"
287+
# chrome_android: "94"
288+
# edge: "94"
289+
# firefox: "61"
290+
# firefox_android: "61"
291+
# safari: "15.4"
292+
# safari_ios: "15.4"
293+
- css.properties.flex-basis.content
294+
295+
# baseline: low
296+
# baseline_low_date: 2022-07-20
297+
# support:
298+
# chrome: "93"
299+
# chrome_android: "93"
300+
# edge: "93"
301+
# firefox: "45"
302+
# firefox_android: "45"
303+
# safari: "15.6"
304+
# safari_ios: "15.6"
305+
- css.properties.align-content.flex_context.start_end
306+
307+
# baseline: low
308+
# baseline_low_date: 2022-09-12
309+
# support:
310+
# chrome: "94"
311+
# chrome_android: "94"
312+
# edge: "94"
313+
# firefox: "66"
314+
# firefox_android: "66"
315+
# safari: "16"
316+
# safari_ios: "16"
317+
- css.properties.flex-basis.max-content
318+
- css.properties.flex-basis.min-content
319+
320+
# baseline: low
321+
# baseline_low_date: 2022-09-12
322+
# support:
323+
# chrome: "94"
324+
# chrome_android: "94"
325+
# edge: "94"
326+
# firefox: "94"
327+
# firefox_android: "94"
328+
# safari: "16"
329+
# safari_ios: "16"
330+
- css.properties.flex-basis.fit-content
331+
332+
# baseline: low
333+
# baseline_low_date: 2022-12-13
334+
# support:
335+
# chrome: "108"
336+
# chrome_android: "108"
337+
# edge: "108"
338+
# firefox: "52"
339+
# firefox_android: "52"
340+
# safari: "16.2"
341+
# safari_ios: "16.2"
342+
- css.properties.align-items.flex_context.last_baseline
343+
- css.properties.align-self.flex_context.last_baseline
344+
345+
# baseline: low
346+
# baseline_low_date: 2024-07-29
347+
# support:
348+
# chrome: "115"
349+
# chrome_android: "115"
350+
# edge: "115"
351+
# firefox: "63"
352+
# firefox_android: "63"
353+
# safari: "17.6"
354+
# safari_ios: "17.6"
355+
- css.properties.align-content.flex_context.safe_unsafe
356+
- css.properties.align-items.flex_context.safe_unsafe
357+
- css.properties.align-self.flex_context.safe_unsafe
358+
- css.properties.justify-content.flex_context.safe_unsafe
359+
360+
# baseline: false
361+
# support:
362+
# firefox: "52"
363+
# firefox_android: "52"
364+
- css.properties.align-content.flex_context.last_baseline

0 commit comments

Comments
 (0)