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

Unified Diff: LayoutTests/inspector/elements/highlight-node-scroll.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-scroll.html
diff --git a/LayoutTests/inspector/elements/highlight-node-scroll.html b/LayoutTests/inspector/elements/highlight-node-scroll.html
index 672b1e63449a9682150db6897e044b0cda4829cd..fe2cbd8f53b207bcfeb9cf58287a4d24836f4816 100644
--- a/LayoutTests/inspector/elements/highlight-node-scroll.html
+++ b/LayoutTests/inspector/elements/highlight-node-scroll.html
@@ -44,21 +44,11 @@ function onload()
function test()
{
- InspectorTest.selectNodeWithId("inspectedElement1", nodeSelected1);
-
- function nodeSelected1(node)
- {
- InspectorTest.dumpInspectorHighlight(node, testNode2);
- }
+ InspectorTest.dumpInspectorHighlightJSON("inspectedElement1", testNode2);
function testNode2()
{
- InspectorTest.selectNodeWithId("inspectedElement2", nodeSelected2);
- }
-
- function nodeSelected2(node)
- {
- InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bind(InspectorTest));
+ InspectorTest.dumpInspectorHighlightJSON("inspectedElement2", InspectorTest.completeTest.bind(InspectorTest));
}
}

Powered by Google App Engine
This is Rietveld 408576698