tor-browser

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

position-absolute-crash-chrome-004.html (1045B)


      1 <!DOCTYPE html>
      2 <title>CSS Position Absolute: Chrome crash</title>
      3 <link rel="author" href="mailto:atotic@chromium.org">
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=946986">
      7 <meta name="assert" content="Nested abs/fixed/flex do not crash">
      8 <style>
      9  body { overflow: scroll;}
     10  .container {
     11    position: relative;
     12    contain: paint;
     13  }
     14  .flex {
     15    display: flex;
     16  }
     17  .fixed {
     18    position: fixed;
     19  }
     20  .abs {
     21    position: absolute;
     22  }
     23 </style>
     24 <!-- LayoutNG currently does not support display:flex.
     25  Propagation of descendants across flex boundaries is error prone -->
     26 <div id="one" class="container" style="">
     27  <div class="flex">
     28    <div class="abs">
     29      <div class="flex">
     30        <div id="fixed1" class="fixed">
     31          <div id="fixed2" class="fixed"></div>
     32        </div>
     33      </div>
     34    </div>
     35  </div>
     36 </div>
     37 <script>
     38 test(() => {
     39 }, 'test passes if it does not crash');
     40 </script>