<!DOCTYPE html>
<html class="reftest-wait">
<title>WebVTT rendering, ::cue(i), background properties</title>
<link rel="match" href="italic_background_properties-ref.html">
<style>
html { overflow:hidden }
body { margin:0 }
::cue(i) {
    font-family: sans-serif;
    background-color: #0f0;
    background-image: url('../../../media/background.gif');
    background-repeat: repeat-x;
    background-position: top left;
    color: black;
}
</style>
<script src="/common/reftest-wait.js"></script>
<video width="320" height="180" 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_italic.vtt">
</video>
<script>
document.getElementsByTagName('track')[0].track.mode = 'showing';
</script>
</html>
