tor-browser

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

1383981-2.html (571B)


      1 <!doctype html>
      2 <style>
      3 div { padding: 1px; }
      4 .test div { padding: 2px; }
      5 .test div ~ div { padding: 3px; }
      6 .test div ~ div ~ div { background: orange; }
      7 .test div ~ div ~ div ~ div { background: white; }
      8 .test div ~ div ~ div ~ div ~ div { background: red; }
      9 </style>
     10 <body>
     11 <script>
     12 let root = document.createElement('div');
     13 for (let i = 0; i < 1000; ++i) {
     14  let div = root.appendChild(document.createElement('div'));
     15  div.appendChild(document.createTextNode(i));
     16 }
     17 document.body.appendChild(root);
     18 document.body.offsetTop;
     19 root.className = 'test';
     20 </script>
     21 </body>