tor-browser

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

1375674.html (425B)


      1 <!doctype html>
      2 <title>
      3  Reftest for bug 1375674: display: contents changes were assumed handled
      4  incorrectly
      5 </title>
      6 <style>
      7  .contents { color: red; display: contents; }
      8  .contents.restyled { will-change: opacity; color: green; }
      9 </style>
     10 <div class="contents">
     11  Should be green.
     12 </div>
     13 <script>
     14 onload = () => {
     15  document.body.offsetTop;
     16  document.querySelector('.contents').classList.add('restyled');
     17 }
     18 </script>