tor-browser

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

disable_controls_reposition.html (1052B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <title>WebVTT rendering, cue reposition after disabling controls</title>
      4 <link rel="match" href="disable_controls_reposition-ref.html">
      5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
      6 <style>
      7 video {
      8  outline: solid;
      9  width: 320px;
     10  height: 240px;
     11 }
     12 ::cue {
     13  font-family: Ahem, sans-serif;
     14  font-size: 50px;
     15  color: green;
     16 }
     17 </style>
     18 <script src="/common/reftest-wait.js"></script>
     19 <video autoplay controls onplaying="this.onplaying = null;
     20                           this.pause();
     21                           this.currentTime = 0;
     22                           setTimeout(function(video){
     23                             video.controls = false;
     24                           }, 100, this);
     25                           takeScreenshotDelayed(1000);">
     26    <source src="/media/white.webm" type="video/webm">
     27    <source src="/media/white.mp4" type="video/mp4">
     28    <track src=support/foo.vtt>
     29    <script>
     30    document.getElementsByTagName('track')[0].track.mode = 'showing';
     31    </script>
     32 </video>