Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / anonymous-block-orphaned-lines.html
blob89762971b359f2728a7109046cb35bfe0ed855bf
1 <html>
2 <head>
3 <title></title>
4 </head>
5 <body>
6 <p>
7 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=12782">http://bugs.webkit.org/show_bug.cgi?id=12782</a>
8 Reproducible crash in BidiContext::deref</i>.
9 </p>
10 <p>
11 No assertion failure means SUCCESS.
12 </p>
13 <div id="target1"><span>foo</span><div></div><span>bar</span></div>
14 <div id="target2"><div></div><span>baz</span></div>
15 <script>
16 document.body.offsetTop;
18 var target1 = document.getElementById("target1");
19 target1.removeChild(target1.childNodes[1]);
20 target1.removeChild(target1.childNodes[1]);
22 var target2 = document.getElementById("target2");
23 target2.removeChild(target2.firstChild);
24 target2.removeChild(target2.firstChild);
26 </script>
27 </body>
28 </html>