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

Unified Diff: LayoutTests/svg/custom/use-modify-target-container.svg

Issue 278033003: Avoid using instanceRoot in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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-modify-target-container.svg
diff --git a/LayoutTests/svg/custom/use-modify-target-container.svg b/LayoutTests/svg/custom/use-modify-target-container.svg
index 5b2678bf4f9d10e1bc25d798b1f281abd01b6e63..28d09c51455a72aefeb0e9d88b2d946df5d88e87 100644
--- a/LayoutTests/svg/custom/use-modify-target-container.svg
+++ b/LayoutTests/svg/custom/use-modify-target-container.svg
@@ -15,7 +15,7 @@
<script>
var useElement = document.getElementsByTagName("use")[1];
-var element = useElement.instanceRoot.correspondingElement;
+var element = document.getElementById("g");
element.setAttribute("transform", "");
</script>
« no previous file with comments | « LayoutTests/svg/custom/use-listener-append-crash.html ('k') | LayoutTests/svg/custom/use-modify-target-symbol.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698