| Index: LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
|
| diff --git a/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml b/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
|
| index bc1dd6e16b1e7f0b225465819e65af643ad469c2..6b4d01dff5cf655c064cad0c9d66718853a4d186 100644
|
| --- a/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
|
| +++ b/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
|
| @@ -1,22 +1,22 @@
|
| -<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
| -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
| -<defs>
|
| - <text id="text1">
|
| - <tspan id="tspan1" x="906" y="250">Test passes it if does not crash</tspan>
|
| - <tspan id="tspan2" x="447" y="108">PASS</tspan>
|
| - </text>
|
| -</defs>
|
| -<use id="use1" xlink:href="#text1"/>
|
| -<text id="text2"></text>
|
| -<script>
|
| - if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| - var range = document.createRange();
|
| - range.setStart(document.getElementById("use1"), 0);
|
| - range.setEnd(document.getElementById("text2"), 0);
|
| - (new XMLSerializer()).serializeToString(range.extractContents());
|
| - document.getElementById('text1').offsetTop;
|
| - range.surroundContents(document.getElementById("tspan1"));
|
| -</script>
|
| -</svg>
|
| +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
| +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
| +<defs>
|
| + <text id="text1">
|
| + <tspan id="tspan1" x="906" y="250">Test passes it if does not crash</tspan>
|
| + <tspan id="tspan2" x="447" y="108">PASS</tspan>
|
| + </text>
|
| +</defs>
|
| +<use id="use1" xlink:href="#text1"/>
|
| +<text id="text2"></text>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + var range = document.createRange();
|
| + range.setStart(document.getElementById("use1"), 0);
|
| + range.setEnd(document.getElementById("text2"), 0);
|
| + (new XMLSerializer()).serializeToString(range.extractContents());
|
| + document.getElementById('text1').offsetTop;
|
| + range.surroundContents(document.getElementById("tspan1"));
|
| +</script>
|
| +</svg>
|
|
|