Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / lists / list-with-autosizing-crash.html
blobefd6e6680411e0eef0a4ce6e2f2bcc1937d13b30
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>
5 This test passes if it doesn't crash.
6 </p>
7 <ul id="autosizeText"><li>
8 hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello
9 </li></ul>
10 <script>
12 if (window.internals) {
13 window.internals.settings.setTextAutosizingEnabled(true);
14 window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
17 if (window.testRunner)
18 testRunner.waitUntilDone();
20 setTimeout(function() {
21 // Cleanup
22 document.body.removeChild(document.querySelector('#autosizeText'));
24 if (window.testRunner) {
25 testRunner.dumpAsText();
26 testRunner.notifyDone();
28 }, 0);
30 </script>
31 </body>
32 </html>