6 outline:
1px solid black;
7 background: hsla(
210,
100%,
90%,
.8);
22 flex-direction: column;
29 <script src=
"../../resources/check-layout.js"></script>
31 <body onload=
"checkLayout('.flexbox')">
32 There should be two boxes of equal height on the left and
3 boxes of equal
34 <div class=
"flexbox row" style=
"width: 600px">
35 <div data-expected-width=
290 data-expected-height=
220 class=
"column flex">
36 <div data-expected-width=
270 data-expected-height=
95 class=
"flex"></div>
37 <div data-expected-width=
270 data-expected-height=
95 class=
"flex"></div>
39 <div data-expected-width=
290 data-expected-height=
220 class=
"column flex">
40 <div data-expected-width=
270 data-expected-height=
60 class=
"flex" style=
"height: 50px;"></div>
41 <div data-expected-width=
270 data-expected-height=
60 class=
"flex" style=
"height: 50px;"></div>
42 <div data-expected-width=
270 data-expected-height=
60 class=
"flex" style=
"height: 50px;"></div>
46 None of the boxes should overflow and the inner most boxes should be end aligned.
47 <div class=
"flexbox column" style=
"width: 600px; height: 300px; position: relative;">
48 <div data-expected-width=
590 data-expected-height=
250 class=
"column flex" style=
"justify-content: flex-end">
49 <div data-offset-y=
"180" data-expected-width=
570 data-expected-height=
30 style=
"height: 20px; flex: none;"></div>
50 <div data-offset-y=
"220" data-expected-width=
570 data-expected-height=
30 style=
"height: 20px; flex: none;"></div>
52 <div data-expected-width=
590 data-expected-height=
30 style=
"height: 20px; flex: none;"></div>