float-012.html (751B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1379815"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square.xht"> 5 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 6 <div id="mc" style="columns:2; column-fill:auto; gap:0; width:110px; height:100px; background:red;"> 7 <div style="height:10px;"></div> 8 <div style="margin-top:-10px; width:50px; background:green;"> 9 <div> 10 <div style="float:left; width:100%; height:200px;"></div> 11 </div> 12 <div style="clear:both;"></div> 13 </div> 14 </div> 15 <script> 16 document.body.offsetTop, 17 mc.style.width = "100px"; 18 </script>