blob: ef1f0a9ba611d19b0d9616a996703188e44094bd [file] [log] [blame]
<!DOCTYPE html>
<html>
<title>WebVTT rendering, ::cue, background properties</title>
<link rel="match" href="background_properties-ref.html">
<style>
html { overflow:hidden }
body { margin:0 }
::cue {
font-family: Ahem, sans-serif;
background-color: #0f0;
background-image: url('../../media/background.gif');
background-repeat: repeat-x;
background-position: top left;
color: green;
}
</style>
<script src="/common/reftest-wait.js"></script>
<video width="1280" height="720" autoplay 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>