| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <style> |
| 4 .inline-flex { |
| 5 display: inline-flex; |
| 6 outline: solid; |
| 7 background: red; |
| 8 } |
| 9 </style> |
| 10 |
| 11 <script src="../../resources/testharness.js"></script> |
| 12 <script src="../../resources/testharnessreport.js"></script> |
| 13 <script src="../../resources/check-layout-th.js"></script> |
| 14 |
| 15 <body onload="checkLayout('.inline-flex')"> |
| 16 <p>Stretched:</p> |
| 17 <div class="inline-flex" style="display: inline-flex; flex-direction: column;" d
ata-expected-width="0" data-expected-height="0"> |
| 18 <div style="contain: strict;" data-expected-width="0" data-expected-height="0"
>Column</div> |
| 19 </div> |
| 20 |
| 21 <div class="inline-flex" data-expected-width="0" data-expected-height="0"> |
| 22 <div style="contain: strict;" data-expected-width="0" data-expected-height="0"
>Row</div> |
| 23 </div> |
| 24 |
| 25 <div class="inline-flex" style="display: inline-flex; flex-direction: column;" d
ata-expected-width="30" data-expected-height="30"> |
| 26 <div style="contain: strict; width: 30px; height: 30px;" data-expected-width="
30" data-expected-height="30">Column</div> |
| 27 </div> |
| 28 |
| 29 <div class="inline-flex" style="display: inline-flex;" data-expected-width="30"
data-expected-height="30"> |
| 30 <div style="contain: strict; width: 30px; height: 30px;" data-expected-width="
30" data-expected-height="30">Row</div> |
| 31 </div> |
| 32 |
| 33 |
| 34 <p>Flex-start:</p> |
| 35 <div class="inline-flex" style="flex-direction: column; align-items: flex-start;
" data-expected-width="0" data-expected-height="0"> |
| 36 <div style="contain: strict;" data-expected-width="0" data-expected-height="0"
>Column</div> |
| 37 </div> |
| 38 |
| 39 <div class="inline-flex" style="align-items: flex-start;" data-expected-width="0
" data-expected-height="0"> |
| 40 <div style="contain: strict;" data-expected-width="0" data-expected-height="0"
>Row</div> |
| 41 </div> |
| 42 |
| 43 <div class="inline-flex" style="flex-direction: column; align-items: flex-start;
" data-expected-width="30" data-expected-height="30"> |
| 44 <div style="contain: strict; width: 30px; height: 30px;" data-expected-width="
30" data-expected-height="30">Column</div> |
| 45 </div> |
| 46 |
| 47 <div class="inline-flex" style="align-items: flex-start;" data-expected-width="3
0" data-expected-height="30"> |
| 48 <div style="contain: strict; width: 30px; height: 30px;" data-expected-width="
30" data-expected-height="30">Row</div> |
| 49 </div> |
| OLD | NEW |