| Index: LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
|
| diff --git a/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg b/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
|
| index 458b70cc94960874352ca575062579881784e6fb..2d7b0a3ea83dc553ffcbb5a1d38b7a602e5ba19e 100644
|
| --- a/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
|
| +++ b/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
|
| @@ -1,33 +1,33 @@
|
| -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
| -<script>
|
| -<![CDATA[
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| - gc = function(){window.GCController.collect()};
|
| -} else if (!window.gc)
|
| - gc = function(){};
|
| -
|
| -window.onload = function(){
|
| - if (location.hash != "#2") {
|
| - if (location.hash)
|
| - location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
|
| - else
|
| - location.hash = "#1";
|
| - var ir = document.getElementById("use1").instanceRoot;
|
| - ir.correspondingUseElement.parentElement.removeChild(ir.correspondingUseElement);
|
| - gc();
|
| - ir.correspondingUseElement;
|
| - setTimeout(function(){location.reload()},0);
|
| - } else {
|
| - document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully removed use element."));
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - }
|
| -}
|
| -//]]>
|
| -</script>
|
| -<g id="g1" />
|
| -<use xlink:href="#g1" id="use1" />
|
| -<text x="20" y="20" fill="green" id="t1"></text>
|
| -</svg>
|
| +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
| +<script>
|
| +<![CDATA[
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| + gc = function(){window.GCController.collect()};
|
| +} else if (!window.gc)
|
| + gc = function(){};
|
| +
|
| +window.onload = function(){
|
| + if (location.hash != "#2") {
|
| + if (location.hash)
|
| + location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
|
| + else
|
| + location.hash = "#1";
|
| + var ir = document.getElementById("use1").instanceRoot;
|
| + ir.correspondingUseElement.parentElement.removeChild(ir.correspondingUseElement);
|
| + gc();
|
| + ir.correspondingUseElement;
|
| + setTimeout(function(){location.reload()},0);
|
| + } else {
|
| + document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully removed use element."));
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + }
|
| +}
|
| +//]]>
|
| +</script>
|
| +<g id="g1" />
|
| +<use xlink:href="#g1" id="use1" />
|
| +<text x="20" y="20" fill="green" id="t1"></text>
|
| +</svg>
|
|
|