-<html>This test passes if a malformed html document triggers an error, not crash.\r
- <svg xmlns="http://www.w3.org/2000/svg"\r
- xmlns:xlink="http://www.w3.org/1999/xlink"\r
- onload="restyle()">\r
- <script>\r
- if (window.testRunner)\r
- testRunner.dumpAsText();\r
- function restyle() {\r
- document.getElementById("b").style.position = "absolute";\r
- }\r
- </script>\r
- <defs>\r
- <g id="a" />\r
- </defs>\r
- <g id="b">\r
- <use xlink:href="#a" />\r
- </g>\r
- </svg>\r
+<html>This test passes if a malformed html document triggers an error, not crash.
+ <svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ onload="restyle()">
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ function restyle() {
+ document.getElementById("b").style.position = "absolute";
+ }
+ </script>
+ <defs>
+ <g id="a" />
+ </defs>
+ <g id="b">
+ <use xlink:href="#a" />
+ </g>
+ </svg>