tor-browser

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

basic-cue-rendering.html (1063B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4    <meta charset="utf-8">
      5    <meta name="viewport" content="width=device-width, initial-scale=1">
      6    <title>webvtt-white-space-pre-line</title>
      7    <link rel="stylesheet" type="text/css" href="support/reference.css">
      8    <script src="/common/reftest-wait.js"></script>
      9    <script src="support/webvtt-rendering-test.js"></script>
     10    <body>
     11        <div>Test rendering a basic <code>VTTCue</code>.</div>
     12        <div class="test-diff">
     13            <video-reference expected>
     14                <cue style="width: 100%; left: 0; bottom: 0px;">
     15                    <cue-background style="margin: auto">Test Text</cue-background>
     16                </cue>
     17            </video-reference>
     18            <video muted playsinline>
     19                <source src="/media/sound_5.mp3#t=0.05" type="audio/mp3">
     20                <source src="/media/sound_5.oga#t=0.05" type="audio/ogg">
     21                <track src="support/basic-cue-rendering.webvtt" kind="captions" default>
     22            </video>
     23        </div>
     24    </body>
     25 </html>