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

Unified Diff: LayoutTests/fast/text-autosizing/svg-path-crash.html

Issue 185243002: [FastTextAutosizer] Fix incorrect override for RenderSVGShape::isEmpty (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/svg-path-crash.html
diff --git a/LayoutTests/fast/text-autosizing/meta-tag-autosizing-content-detection-expected.html b/LayoutTests/fast/text-autosizing/svg-path-crash.html
similarity index 56%
copy from LayoutTests/fast/text-autosizing/meta-tag-autosizing-content-detection-expected.html
copy to LayoutTests/fast/text-autosizing/svg-path-crash.html
index 25643665e304b583d5953d25d29762af5a834d66..07c50d30395848cca64be6e808ddc33c873e3c4d 100644
--- a/LayoutTests/fast/text-autosizing/meta-tag-autosizing-content-detection-expected.html
+++ b/LayoutTests/fast/text-autosizing/svg-path-crash.html
@@ -1,17 +1,18 @@
<!DOCTYPE html>
<html>
<head>
+
<meta name="viewport" content="width=800">
<style>
html { font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
</style>
+<script src="resources/autosizingTest.js"></script>
+
</head>
<body>
-
-This is to test that the meta tags are correctly processed for content detection by the text autosizer.
-This test should be run with Debug build of chromium.
-
+ <svg width="1" height="1"><path></path></svg>
+ This test passes if it does not crash.
f(malita) 2014/03/01 14:48:26 Why not a dumpAsText() + svg-path-crash-expected.t
pdr. 2014/03/01 20:48:46 SGTM. Is there an advantage to an expected .txt ov
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698