Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html class="reftest-wait">
<title>Reference for Embedded Style: Multiple Tracks, style only applies to the track it was sourced for</title>
<style>
::cue(v[voice=Voice1]) {
color: green;
}
</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/embedded_style_without_style.vtt">
<script>
document.getElementsByTagName('track')[0].track.mode = 'showing';
document.getElementsByTagName('track')[1].track.mode = 'showing';
</script>
</video>
</html>