Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / use-instanceRoot-with-use-removed.svg
index 458b70c..2d7b0a3 100644 (file)
@@ -1,33 +1,33 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\r
-<script>\r
-<![CDATA[\r
-if (window.testRunner) {\r
-    testRunner.dumpAsText();\r
-    testRunner.waitUntilDone();\r
-    gc = function(){window.GCController.collect()};\r
-} else if (!window.gc)\r
-    gc = function(){};\r
-\r
-window.onload = function(){\r
-    if (location.hash != "#2") {\r
-        if (location.hash)\r
-            location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();\r
-        else\r
-            location.hash = "#1";\r
-        var ir = document.getElementById("use1").instanceRoot;\r
-        ir.correspondingUseElement.parentElement.removeChild(ir.correspondingUseElement);\r
-        gc();\r
-        ir.correspondingUseElement;\r
-        setTimeout(function(){location.reload()},0);\r
-    } else {\r
-        document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully removed use element."));\r
-        if (window.testRunner)\r
-            testRunner.notifyDone();\r
-    }\r
-}\r
-//]]>\r
-</script>\r
-<g id="g1" />\r
-<use xlink:href="#g1" id="use1" />\r
-<text x="20" y="20" fill="green" id="t1"></text>\r
-</svg>\r
+<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>