Index: LayoutTests/svg/text/nonconformant-content-crash-1.html |
diff --git a/LayoutTests/svg/text/nonconformant-content-crash-1.html b/LayoutTests/svg/text/nonconformant-content-crash-1.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3b9a1c82a0bdd1529eb4358f1c80031a3fe6b9e4 |
--- /dev/null |
+++ b/LayoutTests/svg/text/nonconformant-content-crash-1.html |
@@ -0,0 +1,21 @@ |
+<!doctype html> |
+<svg> |
+ <text><tspan>PASS</tspan><tspan><a><ellipse/></a></tspan></text> |
+</svg> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+window.onload = function() { |
+ var e = document.querySelector('ellipse'); |
+ e.parentNode.insertBefore(document.createElement('span'), e); |
+} |
+ |
+window.onload = function() { |
+ setTimeout(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 0); |
+}; |
+</script> |