blob: 2fb094846f77ef4e6dc691694d555aed578cb1e1 [file] [log] [blame]
<!DOCTYPE html>
<title>Reference for WebVTT rendering, only css properties with default value inherit should inherit from media element</title>
<style>
.video {
position: absolute;
display: inline-block;
width: 320px;
height: 180px;
position: relative;
color: #f0f;
white-space: pre-line;
font: italic small-caps bold 9px/18px sans-serif;
text-shadow: 0px 0px 5px #0f0;
background: #0f0 url('../../media/background.gif') repeat-x top left;
outline: solid #00f 2px;
font-size: 9px;
}
.videoWhite {
position: absolute;
top: 0;
left: 160px;
width: 960px;
height: 180px;;
background: #fff;
z-index: 1;
}
.cue {
position: absolute;
bottom: 0;
left: 30%;
right: 0;
width: 40%;
text-align: center;
z-index: 2
}
.cue > span {
background-color: rgba(0,0,0,0.8);
color: #fff;
}
</style>
<div class="video"><div class="videoWhite"></div><span class="cue"><span>A A A A A A A A A A A</span></span></div>