| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 .flex { |
| 4 display: inline-flex; |
| 5 border: thick solid; |
| 6 height: 50px; |
| 7 width: 50px; |
| 8 margin: 50px; |
| 9 } |
| 10 |
| 11 .i1 { |
| 12 color: cyan; |
| 13 background: magenta; |
| 14 font-size: 100px; |
| 15 } |
| 16 |
| 17 .auto { overflow: auto; } |
| 18 .hidden { overflow: hidden; } |
| 19 </style> |
| 20 |
| 21 <p>This test checks that implied minimum size of grid items is only applied if o
verflow is visible.</p> |
| 22 <p>The test passes if in the first grid the item overflows, in the second one it
has scrollbars, |
| 23 and in the third one the item doesn't overflow but it doesn't have scrollbars.</
p> |
| 24 |
| 25 <div class="flex" style="align-items: start;"> |
| 26 <div class="i1">X</div> |
| 27 </div> |
| 28 |
| 29 <div class="flex"> |
| 30 <div class="i1 auto">X</div> |
| 31 </div> |
| 32 |
| 33 <div class="flex"> |
| 34 <div class="i1 hidden">X</div> |
| 35 </div> |
| OLD | NEW |