Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text-autosizing / anonymous-block-crash.html
bloba5fb2bce93386b05ff6d07ad1c15dcee977c569f
1 Test for crbug.com/521657: This test passes if it does not crash.
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 internals.settings.setTextAutosizingEnabled(true);
6 internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
8 document.documentElement.style.overflow = '-webkit-paged-x';
9 onload = function() {
10 var forceLayout = document.body.offsetTop;
11 document.documentElement.parentNode.removeChild(document.documentElement);
13 </script>