Index: LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html |
diff --git a/LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html b/LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc3af113513a0d83c8a2661ced1f6e811fa64f9e |
--- /dev/null |
+++ b/LayoutTests/svg/text/tspan-pre-wrap-whitespace-crash.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<svg xmlns="http://www.w3.org/2000/svg"> |
+<text> |
+<tspan style="white-space:pre-wrap"> </tspan> |
+</text> |
+</svg> |
+<p>This test passes if it doesn't crash</p> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |