6 background-color: #aaa;
9 .testcase
> :nth-child(
1) {
10 background-color: lightblue;
12 .testcase
> :nth-child(
2) {
13 background-color: lightgreen;
15 .testcase
> :nth-child(
3) {
16 background-color: pink;
18 .testcase
> :nth-child(
4) {
19 background-color: yellow;
24 border-collapse: collapse;
34 <p>Test to make sure that multiline column flexboxes shrink-to-fit properly.
</p>
36 <div class=
"testcase" style=
"height: 60px; width: 100px">
37 <div style=
"width: 100px; height: 20px"></div>
38 <div style=
"width: 100px; height: 10px"></div>
39 <div style=
"width: 100px; height: 10px"></div>
40 <div style=
"width: 100px; height: 20px"></div>
42 <p style=
"clear:left">The grey background should be
100px wide.
</p>
44 <div class=
"testcase" style=
"height: 30px; width: 100px">
47 <div style=
"width: 100px; height: 20px"></div>
48 <div style=
"width: 100px; height: 10px; background-color: lightgreen"></div>
51 <div style=
"width: 100px; height: 10px; background-color: pink"></div>
52 <div style=
"width: 100px; height: 20px; background-color: yellow"></div>
56 <p style=
"clear:left">The grey background should be
100px wide.
</p>
58 <div style=
"width: 150px">
59 <div class=
"testcase" style=
"height: 60px; width: 100px">
60 <div style=
"width: 100px; height: 20px"></div>
61 <div style=
"width: 100px; height: 10px"></div>
62 <div style=
"width: 100px; height: 10px"></div>
63 <div style=
"width: 100px; height: 20px"></div>
66 <p style=
"clear:left">The grey background should be
100px wide.
</p>
68 <div style=
"width: 150px">
69 <div class=
"testcase" style=
"height: 35px; width: 100px;">
72 <div style=
"width: 100px; height: 20px"></div>
73 <div style=
"width: 100px; height: 10px; background-color: lightgreen"></div>
76 <div style=
"width: 100px; height: 10px; background-color: pink"></div>
77 <div style=
"width: 100px; height: 20px; background-color: yellow"></div>
82 <p style=
"clear:left">The grey background should be
100px wide and
5px should
83 stick out the bottom.
</p>