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

Side by Side Diff: LayoutTests/inspector/elements/highlight-node.html

Issue 257873002: DevTools: do not use internals for highlight testing, use protocol instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 16 matching lines...) Expand all
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 function nodeSelected(node)
36 { 36 {
37 RuntimeAgent.evaluate("dumpInspectorHighlightRects()", InspectorTest.com pleteTest); 37 InspectorTest.dumpInspectorHighlight(node, InspectorTest.completeTest.bi nd(InspectorTest));
38 } 38 }
39 39
40 InspectorTest.selectNodeWithId("inspectedElement", nodeSelected); 40 InspectorTest.selectNodeWithId("inspectedElement", nodeSelected);
41 } 41 }
42 42
43 </script> 43 </script>
44 </head> 44 </head>
45 45
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 47
48 <div id="inspectedElement"></div> 48 <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> 49 <p id="description">This test verifies the position and size of the highlight re ctangles overlayed on an inspected div.</p>
50 50
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/highlight-node-scaled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698