tor-browser

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

get-keyframe-fontsize-crash.html (579B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://crbug.com/387447929">
      3 <html id="root">
      4    <style>
      5        #root {
      6            transition: all 5s ease;
      7        }
      8 
      9        #root.override {
     10            font-size: 5rem;
     11        }
     12    </style>
     13  <p>This test succeeds if the transition keyframes can be retrieved without a crash</p>
     14  <script>
     15      // Transition will not run if document is not loaded
     16      window.onload = () => {
     17        document.getElementById("root").className = "override";
     18        document.getAnimations()[0].effect.getKeyframes();
     19      };
     20  </script>
     21 </html>