zero-space-between-floats-003.html (852B)
1 <!DOCTYPE html> 2 <title>Zero-width new formatting context with clearance</title> 3 <link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org"> 4 <link rel="help" href="https://www.w3.org/TR/CSS22/visuren.html#float-position" title="9.5.1 Positioning the float: the 'float' property"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/check-layout-th.js"></script> 8 <div id="container" style="position:relative; width:200px;"> 9 <div style="float:left; width:100px; height:100px;"></div> 10 <div style="float:right; width:100px; height:100px;"></div> 11 <div style="float:right; width:100%; height:100px;"></div> 12 <div data-offset-x="0" data-offset-y="100" style="overflow:hidden; clear:left; width:0;"></div> 13 </div> 14 <script> 15 checkLayout("#container"); 16 </script>