tor-browser

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

transitive-style-invalidation-ref.html (284B)


      1 <!doctype html>
      2 <style>
      3 .foo > div::before {
      4  display: block;
      5  width: 100px;
      6  height: 100px;
      7  background: green;
      8  content: "";
      9 }
     10 </style>
     11 <div class="foo">
     12  <div>
     13  </div>
     14 </div>
     15 <script>
     16 onload = function() {
     17  document.querySelector('.foo').className = 'foo bar';
     18 }
     19 </script>