blob: dcb89931276c72f5f3ed40dc848c13552c0204a3 [file] [log] [blame]
<!DOCTYPE html>
<html class="reftest-wait">
<title>WebVTT rendering, the subtitles are moved up to correct position when controls are visible</title>
<link rel="match" href="media_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="720" 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>