tor-browser

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

bug1423850-canvas-video-rotation-90.html (520B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head><script>
      4 function done() {
      5  let video = document.querySelector("video");
      6  let canvas = document.querySelector("canvas");
      7  let context = canvas.getContext("2d");
      8  context.drawImage(video, 30, 50, video.videoWidth, video.videoHeight);
      9  document.documentElement.removeAttribute("class");
     10 }
     11 </script></head>
     12 <body bgcolor="gray">
     13  <video src="video_rotation_90.mp4" onended="done()" autoplay="true"></video>
     14  <canvas width="60" height="100"></canvas>
     15 </body>
     16 </html>