tor-browser

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

get-computed-style-crash.html (459B)


      1 <!DOCTYPE html>
      2 <title>getComputedStyle without transition should not crash</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-view-transitions-1">
      4 <link rel="author" href="mailto:vmpstr@chromium.org">
      5 
      6 <body onload="start();">
      7 
      8 <script>
      9 async function start() {
     10 var el = document.createElement(undefined);
     11 document.body.appendChild(el);
     12 
     13 var style = self.getComputedStyle(el, '::view-transition');
     14 style.getPropertyValue("--child");
     15 }
     16 </script>