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

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: Update per reviewer comments 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
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/svg-path-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text-autosizing/svg-path-crash.html
diff --git a/LayoutTests/fast/text-autosizing/svg-path-crash.html b/LayoutTests/fast/text-autosizing/svg-path-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..8464997ca57774cd4e750fa9dc6def7e5449b6b8
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/svg-path-crash.html
@@ -0,0 +1,21 @@
+<!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>
+ <svg width="1" height="1"><path/></svg>
+ This test passes if it does not crash.
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/svg-path-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698