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

Unified Diff: LayoutTests/svg/dom/use-transform.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
« no previous file with comments | « LayoutTests/svg/custom/use-on-use-with-child-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/use-transform.svg
diff --git a/LayoutTests/svg/dom/use-transform.svg b/LayoutTests/svg/dom/use-transform.svg
index ac643b5dd87d65b33bdf760139c6ef2882fd9fb2..d59fec0c13d1704aed0ef9e34e83080fd8c91560 100644
--- a/LayoutTests/svg/dom/use-transform.svg
+++ b/LayoutTests/svg/dom/use-transform.svg
@@ -32,7 +32,7 @@
//
var useElement = document.getElementsByTagName("use")[1];
-var element = useElement.instanceRoot.correspondingElement;
+var element = document.getElementById("g");
element.setAttribute("transform", "");
« no previous file with comments | « LayoutTests/svg/custom/use-on-use-with-child-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698