tor-browser

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

change-rule-with-layers-crash.html (482B)


      1 <!DOCTYPE html>
      2 <title>CSSOM Test: Chrome crash when modifying rules with @layer</title>
      3 <link rel="help" href="https://crbug.com/1499277">
      4 <link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org">
      5 <style id="s">
      6 .x {
      7  transition: color 0.5s;
      8  @layer warning {
      9    :first-child { }
     10    :last-child { }
     11  }
     12 }
     13 </style>
     14 <p>Test passes if it does not crash.</p>
     15 <script>
     16 document.body.offsetTop;
     17 s.sheet.cssRules[0].style.transitionDuration = '1s';
     18 </script>