Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg

Issue 272523002: Remove SVGElementInstance (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address esprehns nits Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 2d7b0a3ea83dc553ffcbb5a1d38b7a602e5ba19e..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
+++ /dev/null
@@ -1,33 +0,0 @@
-<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>

Powered by Google App Engine
This is Rietveld 408576698