Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / line-break-between-text-nodes-with-inline-blocks.html
blob5233eb7d7008e282b4d263610f8bb6faf3dd7ecd
1 <!DOCTYPE html>
2 <html>
3 <!-- This is a regression test for http://crbug.com/305904 -->
4 <head>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
9 testRunner.useUnfortunateSynchronousResizeMode();
12 window.onload = function() {
13 document.body.offsetTop;
14 b.style.display = "inline-block";
16 document.body.offsetTop;
17 a.removeChild(c);
19 document.body.offsetTop;
20 window.resizeTo(42, window.outerHeight);
22 document.getElementById("results").innerText = "Test passes if no crash."
23 if (window.testRunner) {
24 testRunner.notifyDone();
27 </script>
28 </head>
29 <div style="width: 0px;">foo<span id="a">
30 <span id="b"></span><span>bar</span><span id="c"></span>
31 </span>
32 <span style="display:inline-block;"></span>
33 </div>
34 <div><pre id="results"></pre></div>
35 </html>