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

Unified Diff: LayoutTests/inspector/elements/highlight-node-scaled.html

Issue 662603002: [DevTools] Adjust svg elements highlight to the root FrameView origin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review comments Created 6 years, 2 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/inspector/elements/highlight-node-scaled.html
diff --git a/LayoutTests/inspector/elements/highlight-node-scaled.html b/LayoutTests/inspector/elements/highlight-node-scaled.html
index 3ff305351a9f78e10b82885dedb2c3ed9578c4af..9154374d18a44f5ff4a8f759bd368eba4e4498b5 100644
--- a/LayoutTests/inspector/elements/highlight-node-scaled.html
+++ b/LayoutTests/inspector/elements/highlight-node-scaled.html
@@ -31,21 +31,13 @@ function onload()
function test()
{
- InspectorTest.firstElementsTreeOutline().addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
-
- function selectedNodeChanged(event)
- {
- var node = event.data;
- if (node.getAttribute("id") == "div")
- InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bind(InspectorTest));
- }
- InspectorTest.evaluateInConsole("inspect(iframeDivElement)");
+ InspectorTest.dumpInspectorHighlightJSON("div", InspectorTest.completeTest.bind(InspectorTest), "scale-iframe");
}
</script>
</head>
<body onload="onload()">
-<iframe src="resources/highlight-node-scaled-iframe.html"></iframe>
+<iframe id="scale-iframe" src="resources/highlight-node-scaled-iframe.html"></iframe>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698