Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: LayoutTests/fast/text-autosizing/anonymous-block-crash-expected.html

Issue 1308693003: Ensure the text autosizer creates a root cluster when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/text-autosizing/anonymous-block-crash-expected.html
diff --git a/LayoutTests/fast/text-autosizing/anonymous-block-crash-expected.html b/LayoutTests/fast/text-autosizing/anonymous-block-crash-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..19a84113bdf3dba82fcba35c6eb32288c2e30154
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/anonymous-block-crash-expected.html
@@ -0,0 +1,9 @@
+Test for crbug.com/521657: this test passes if it does not crash.
mstensho (USE GERRIT) 2015/08/24 10:55:10 Do we need all this? Couldn't you just make a dump
pdr. 2015/08/24 17:43:28 Done
+<script>
+internals.settings.setTextAutosizingEnabled(true);
+internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
+
+onload = function() {
+ document.documentElement.parentNode.removeChild(document.documentElement);
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698