Chromium Code Reviews| Index: LayoutTests/fast/text-autosizing/anonymous-block-crash.html |
| diff --git a/LayoutTests/fast/text-autosizing/anonymous-block-crash.html b/LayoutTests/fast/text-autosizing/anonymous-block-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cdfc8c2c6e29f989c6a9c37c03fc43c2da561c90 |
| --- /dev/null |
| +++ b/LayoutTests/fast/text-autosizing/anonymous-block-crash.html |
| @@ -0,0 +1,10 @@ |
| +Test for crbug.com/521657: this test passes if it does not crash. |
| +<script> |
| +internals.settings.setTextAutosizingEnabled(true); |
| +internals.settings.setTextAutosizingWindowSizeOverride(320, 480); |
| + |
| +document.documentElement.style.overflow = '-webkit-paged-x'; |
| +onload = function() { |
| + document.documentElement.parentNode.removeChild(document.documentElement); |
|
mstensho (USE GERRIT)
2015/08/24 10:55:10
How about a document.body.offsetTop; in front of t
pdr.
2015/08/24 17:43:28
Done
|
| +} |
| +</script> |