summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/embedded-content/media-elements/track/track-element/track-webvtt-non-snap-to-lines-ref.html
blob: 137a9334f286f418b8d0c3b35ed995e956f22c76 (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
26
27
28
29
<!DOCTYPE html>
<html class="reftest-wait">
<title>Reference test for track-webvtt-non-snap-to-lines.html</title>
<script src="/common/reftest-wait.js"></script>
<script src="/common/media.js"></script>
<style>
.container {
  position: relative;
  display: inline-block;
}
.cue {
  position: absolute;
  top: 30px;
  left: 0px;
  font-family: sans-serif;
  background: green;
  color: rgba(255, 255, 255, 1);
  font-size: 7.5px;
}
</style>
<div class="container">
  <video autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
    <script>
    document.currentScript.parentNode.src = getVideoURI("/media/test");
    </script>
  </video>
  <span class="cue">Bear is Coming!!!!!</span>
</div>
</html>