tor-browser

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

contain-nested-crash-001.html (612B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
      3 <link rel="help" href="https://crbug.com/1214198">
      4 <link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
      5 <style>
      6 .contain {
      7  contain: strict;
      8  display: block;
      9  width: 100px;
     10  height: 100px;
     11 }
     12 </style>
     13 <body>
     14  <div id="outer" class="contain">
     15    <div>
     16      <div id="inner" class="contain"></div>
     17    </div>
     18  </div>
     19 <script>
     20  document.body.offsetTop;
     21  inner.appendChild(document.createTextNode('inner-child'));
     22  outer.appendChild(document.createTextNode('outer-child'));
     23 </script>
     24 </body>