Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / runin / nonblock-runin.html
bloba57ba5a4bdb4f06072e8827293b311c9e5355e6c
1 <p>
2 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=12052">https://bugs.webkit.org/show_bug.cgi?id=12052</a>.
3 Before the change, display: run-in; with non-RenderBlock element hit ASSERTion and run-in video made Safari crash.
4 </p>
5 <div>
6 <canvas style="display: run-in;">FOO</canvas>
7 <div>PASS</div>
8 </div>
10 <div>
11 <video src="../../media/content/test.mp4" style="display: run-in;" controls></video>
12 <div>PASS</div>
13 </div>
15 <script>
16 if (window.layoutTestController)
17 layoutTestController.dumpAsText();
18 </script>