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

Side by Side Diff: LayoutTests/inspector/elements/highlight-node.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <style> 4 <style>
5 5
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 } 8 }
9 #container { 9 #container {
10 width: 400px; 10 width: 400px;
(...skipping 14 matching lines...) Expand all
25 } 25 }
26 26
27 </style> 27 </style>
28 28
29 <script src="../../http/tests/inspector/inspector-test.js"></script> 29 <script src="../../http/tests/inspector/inspector-test.js"></script>
30 <script src="../../http/tests/inspector/elements-test.js"></script> 30 <script src="../../http/tests/inspector/elements-test.js"></script>
31 <script> 31 <script>
32 32
33 function test() 33 function test()
34 { 34 {
35 function nodeSelected(node) 35 InspectorTest.dumpInspectorHighlightJSON("inspectedElement", InspectorTest.c ompleteTest.bind(InspectorTest));
36 {
37 InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bi nd(InspectorTest));
38 }
39
40 InspectorTest.selectNodeWithId("inspectedElement", nodeSelected);
41 } 36 }
42 37
43 </script> 38 </script>
44 </head> 39 </head>
45 40
46 <body onload="runTest()"> 41 <body onload="runTest()">
47 42
48 <div id="inspectedElement"></div> 43 <div id="inspectedElement"></div>
49 <p id="description">This test verifies the position and size of the highlight re ctangles overlayed on an inspected div.</p> 44 <p id="description">This test verifies the position and size of the highlight re ctangles overlayed on an inspected div.</p>
50 45
51 </body> 46 </body>
52 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698