tor-browser

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

nested-non-auto-inline-size-offset-top.html (760B)


      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=1349884">
      4 <div style="position:relative; columns:2; gap:0; width:600px; column-fill:auto; height:100px;">
      5  <div style="height:70px; contain:size;"></div>
      6  <div style="width:40px; column-width:20px; gap:0; column-fill:auto;">
      7    <div style="height:20px;"></div>
      8    <div id="secondouter" style="height:50px; contain:size;"></div>
      9  </div>
     10 </div>
     11 <script src="/resources/testharness.js"></script>
     12 <script src="/resources/testharnessreport.js"></script>
     13 <script>
     14  test(()=> {
     15    assert_equals(secondouter.offsetTop, 0);
     16  }, "offsetTop on element in second outer column");
     17 </script>