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> |