blob: 6a5c36c3dc871bb9dc7ace34c8274a5c92cc9cb3 [file] [log] [blame]
<!DOCTYPE html>
<html class="reftest-wait">
<title>WebVTT rendering, the subtitles is not covered by or covering the controls</title>
<link rel="match" href="media_height400_with_controls-ref.html">
<style>
html { overflow:hidden }
body { margin:0 }
::cue {
font-family: Ahem, sans-serif;
color: green
}
</style>
<script src="/common/reftest-wait.js"></script>
<video width="1280" height="400" autoplay controls onplaying="this.onplaying = null; this.pause(); 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>
</video>
</html>