<!DOCTYPE html>
<!-- no reftest-wait -->
<title>WebVTT rendering, when media cannot be played (404 error), subtitles are not displayed</title>
<link rel="match" href="media_404_omit_subtitles-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html { overflow:hidden }
body { margin:0 }
::cue {
    font-family: Ahem, sans-serif;
    color: green
}
</style>
<!--
The subtitles are not expected to render because the "show poster flag"
is set, so when the track loads it will *not* run "time marches on".
-->
<video width="320" height="180" autoplay>
    <source src="/common/text-plain.txt?pipe=status(404)">
    <track src="support/test.vtt">
    <script>
    document.getElementsByTagName('track')[0].track.mode = 'showing';
    </script>
</video>
</html>
