tor-browser

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

remove-child-in-strict-containment-also-spanner.html (764B)


      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=1279078">
      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 style="columns:2; column-gap:0; width:100px; background:red;">
      7  <div style="column-span:all; height:20px; background:green;"></div>
      8  <div style="contain:strict; height:80px; background:green;">
      9    <div id="elm" style="height:80px; background:red;"></div>
     10  </div>
     11  <div style="contain:strict; height:80px; background:green;"></div>
     12 </div>
     13 <script>
     14  document.body.offsetTop;
     15  elm.style.display = "none";
     16 </script>