float-002.html (846B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://www.w3.org/TR/css-break-3/#unforced-breaks"> 4 <link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#floats"> 5 <link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#flow-control"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 8 <div style="columns:2; column-fill:auto; column-gap:0; width:100px; height:100px; background:red;"> 9 <div style="float:left; width:100%; height:200px;"> 10 <div style="height:160px; background:green;"></div> 11 </div> 12 <div style="display:flow-root; clear:left; height:0;"> 13 <div style="height:40px; margin-top:-40px; background:green;"></div> 14 </div> 15 </div>