blob: e90bd6279693fb4180945702243a9ca2de643441 [file] [log] [blame]
<p>
Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=12052">https://bugs.webkit.org/show_bug.cgi?id=12052</a>.
Before the change, display: run-in; with non-RenderBlock element hit ASSERTion and run-in video made Safari crash.
</p>
<div>
<canvas style="display: run-in;">FOO</canvas>
<div>PASS</div>
</div>
<div>
<video src="../../media/content/test.mp4" style="display: run-in;" controls></video>
<div>PASS</div>
</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>