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

Unified Diff: LayoutTests/svg/custom/use-modify-target-symbol.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-symbol.svg
diff --git a/LayoutTests/svg/custom/use-modify-target-symbol.svg b/LayoutTests/svg/custom/use-modify-target-symbol.svg
index a43c377c9eff67d8a91b4957e3b3def7c81fda05..d7de18e72e6e03af458c80570f3562c0de220cf0 100644
--- a/LayoutTests/svg/custom/use-modify-target-symbol.svg
+++ b/LayoutTests/svg/custom/use-modify-target-symbol.svg
@@ -14,7 +14,7 @@
<script>
var useElement = document.getElementsByTagName("use")[1];
-var element = useElement.instanceRoot.correspondingElement;
+var element = document.getElementById("symbol");
element.removeAttribute("viewBox");
</script>
</svg>
« no previous file with comments | « LayoutTests/svg/custom/use-modify-target-container.svg ('k') | LayoutTests/svg/custom/use-on-use-with-child.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698