| <!DOCTYPE html> |
| <title>column-height and column-wrap, with gaps, auto height</title> |
| <link rel="author" title="Morten Stenshorne" href="mailto:[email protected]"> |
| <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#ch"> |
| <link rel="help" href="https://drafts.csswg.org/css-multicol-2/#cwr"> |
| <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> |
| <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> |
| <div style="position:relative; columns:2; column-fill:auto; width:100px; gap:10px 20px; column-height:45px; column-wrap:wrap; background:red;"> |
| <div style="position:absolute; left:0; top:45px; width:100%; height:10px; background:green;"></div> |
| <div style="position:absolute; left:40px; top:0; width:20px; height:100px; background:green;"></div> |
| <div style="height:180px; background:green;"></div> |
| </div> |