blob: b93ac56ae34c99739ef8004cbbdb437160bde106 [file] [log] [blame]
<!DOCTYPE html>
<html>
<title>WebVTT rendering, ::cue, css properties with value inherit should inherit from media element</title>
<link rel="match" href="inherit_values_from_media_element-ref.html">
<style>
video {
color: #f0f;
white-space: pre-wrap;
font: italic small-caps bold 36px/72px sans-serif;
text-decoration: overline underline line-through;
text-shadow: 0px 0px 5px #0f0;
background: #0f0 url('../../media/background.gif') repeat-x top left;
outline: solid #00f 2px;
}
::cue {
white-space: inherit;
font: inherit;
color: inherit;
text-decoration: inherit;
text-shadow: inherit;
background: inherit;
outline: inherit;
}
</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/white-spaces_long.vtt">
<script>
document.getElementsByTagName('track')[0].track.mode = 'showing';
</script>
</video>
</html>