tor-browser

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

percent-width-cell-dynamic.html (783B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://crbug.com/984642" />
      3 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      4 <style>
      5 html { overflow: hidden; }
      6 </style>
      7 <p>Test passes if there is a filled green square.</p>
      8 <div id="target">
      9  <div style="width: 10%;">
     10    <div style="display: inline-table;">
     11      <div style="display: table-cell; width: 100%;">
     12        <span style="display: inline-block; width: 100%; height: 100px; background: green;"></span>
     13      </div>
     14      <div style="display: table-cell;">
     15        <span style="display: inline-block; width: 10px; height: 100px; background: green;"></span>
     16      </div>
     17     </div>
     18  </div>
     19 </div>
     20 <script>
     21 document.body.offsetTop;
     22 document.getElementById('target').style.width = '1000px';
     23 </script>