summaryrefslogtreecommitdiffstats
path: root/dom/media/test/reftest/image-10bits-rendering-720.video.html
blob: 93d2651ffcf65eb9993c5c40a9663b3ccca21e32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
  var video = document.getElementById("v1");
  video.src = "vp9hdr2020.webm";
  video.preload = "metadata";
  video.addEventListener("loadeddata", function() {
    document.documentElement.removeAttribute('class');
  });
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</head>
<body>
<video id="v1" style="position:absolute; left:0; top:0"></video>
</body>
</html>