summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webvtt/rendering/cues-with-video/processing-model/audio_has_no_subtitles.html
blob: 013e45558ea67d552ba11e3fe921c7e991069d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html class="reftest-wait">
<title>WebVTT rendering, &lt;audio&gt; should not have subtitles</title>
<link rel="match" href="audio_has_no_subtitles-ref.html">
<style>
audio {
    width: 1280px;
    height: 720px;
    outline: solid
}
::cue {
    font-family: Ahem, sans-serif;
    color: green
}
</style>
<script src="/common/reftest-wait.js"></script>
<audio autoplay controls onplaying="this.onplaying = null; this.pause(); this.currentTime = 0; takeScreenshot();">
    <source src="/media/white.webm" type="video/webm">
    <source src="/media/white.mp4" type="video/mp4">
    <track src="support/test.vtt">
    <script>
    document.getElementsByTagName('track')[0].track.mode = 'showing';
    </script>
</audio>
</html>