| Index: LayoutTests/svg/custom/use-invalid-html.xhtml
|
| diff --git a/LayoutTests/svg/custom/use-invalid-html.xhtml b/LayoutTests/svg/custom/use-invalid-html.xhtml
|
| index 92bdc1269e9368788860b1fd608db53cfa4ec9e2..5c2fc5be2dacde6b71b14bdcc0a8258aaddb4ef0 100644
|
| --- a/LayoutTests/svg/custom/use-invalid-html.xhtml
|
| +++ b/LayoutTests/svg/custom/use-invalid-html.xhtml
|
| @@ -1,18 +1,18 @@
|
| -<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>
|
| +<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>
|
|
|