blob: 0b48ad68450b8efc747dc8b344a44cc304958ae3 [file] [log] [blame]
<!DOCTYPE html>
<title>Reference for WebVTT rendering, line:1, size:50%, wrapped cue should grow downwards</title>
<style>
html { overflow:hidden }
body { margin:0 }
.video {
display: inline-block;
width: 1280px;
height: 720px;
position: relative
}
.cue {
position: absolute;
top: 36px;
left: 320px;
right: 0;
width: 640px;
text-align: center
}
.cue > span {
font-family: Ahem, sans-serif;
background: rgba(0,0,0,0.8);
color: green;
font-size: 36px;
}
</style>
<div class="video"><span class="cue"><span>This is a test subtitle that will line break</span></span></div>