Index: LayoutTests/svg/custom/load-non-wellformed.svg |
diff --git a/LayoutTests/svg/custom/load-non-wellformed.svg b/LayoutTests/svg/custom/load-non-wellformed.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..620797c6751a2acb32ad3f2c896fcba59fd1199e |
--- /dev/null |
+++ b/LayoutTests/svg/custom/load-non-wellformed.svg |
@@ -0,0 +1,6 @@ |
+<?xml version="1.0" standalone="no"?> |
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" onload="document.getElementsByTagName('text')[0].textContent='Failed'"> |
+ <!-- if the document is xml non-wellformed, onload handlers should not be executed --> |
+ <text x="0" y="30">Passed</text> |
+ <use xlink:href="#undefined"> |
+</svg> |