Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / deprecated-flexbox / line-clamp-crash.html
blob2fbed39161be1228febacd48491c7a5f5a49251a
1 <p>
2 Test that an incremental layout of a block with line-clamp truncation does not trigger a crash.
3 </p>
4 <div style="-webkit-box-orient: vertical; -webkit-line-clamp: 5; display: -webkit-box;">
5 <div>
6 <br>
7 <br>
8 <br>
9 <br>
10 <br>
11 <br>
12 <br>
13 <br>
14 <br>
15 <br>
16 <br>
17 <br>
18 <br>
19 <br>
20 <br>
21 <span id="target">Running </span>
22 <a href="#">X</a>
23 </div>
24 </div>
25 <script>
26 function test()
28 var placeholder = document.getElementById("target");
29 placeholder.parentNode.removeChild(placeholder);
32 if (window.testRunner)
33 testRunner.dumpAsText();
35 document.body.offsetTop;
36 test();
37 document.body.offsetTop;
38 </script>