tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

zero-space-between-floats-002.html (926B)


      1 <!DOCTYPE html>
      2 <title>A zero-width new formatting context should fit in a zero-width layout opportunity between floats, above a 100% wide float</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:200px;"></div>
     10  <div style="float:right; width:100px; height:200px;"></div>
     11  <div style="float:right; width:100%; height:10px;"></div>
     12  <div data-offset-x="100" data-offset-y="0" style="overflow:hidden; width:0; height:200px;"></div>
     13 </div>
     14 <script>
     15  checkLayout("#container");
     16 </script>