tor-browser

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

insert-dir-rule-crash.html (449B)


      1 <!DOCTYPE html>
      2 <title>CSSOM Test: Chrome crash inserting :dir rule</title>
      3 <link rel="help" href="https://crbug.com/1486351">
      4 <p>PASS if no crash.</p>
      5 <style id="sheet"> </style>
      6 <div id="host"></div>
      7 <script>
      8  let root = host.attachShadow({mode:"open"});
      9  root.innerHTML = "<slot></slot>";
     10  host.offsetTop;
     11  host.innerHTML = "<span>Green</span>";
     12  sheet.sheet.insertRule("html:dir(ltr) { color: green; }");
     13  document.fonts.size();
     14 </script>