float-003.html (972B)
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="width:100px; height:100px; background:red;"> 9 <div style="columns:2; column-fill:auto; column-gap:0; height:150px;"> 10 <div style="height:100px; background:green;"></div> 11 <div style="float:left; break-inside:avoid; width:100%; height:100px;"> 12 <div style="height:60px; background:green;"></div> 13 </div> 14 <div style="clear:both; display:flow-root; height:0;"> 15 <div style="height:40px; margin-top:-40px; background:green;"></div> 16 </div> 17 </div> 18 </div>