<!DOCTYPE html>
<title>Tests that setting display to block does not crash the browser.</title>
<style>
-webkit-media-text-track-display { display: block; }
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
test(function() {
var video = document.createElement("video");
video.src = "../content/test.ogv";
video.addTextTrack("captions", "regular captions track", "en");
video.textTracks[0].addCue(new VTTCue(0, 4, ""));
video.play();
});
</script>