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

Side by Side Diff: LayoutTests/inspector/elements/hide-shortcut.html

Issue 218703002: DevTools: [wip] move Elements panel off WebInspector.domModel and single tree outline. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review comment addressed (and much more) 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 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 var treeOutline; 9 var treeOutline;
10 var parentNode; 10 var parentNode;
11 var childNode; 11 var childNode;
12 var frameNode; 12 var frameNode;
13 13
14 WebInspector.inspectorView.showPanel("elements"); 14 WebInspector.inspectorView.showPanel("elements");
15 InspectorTest.runTestSuite([ 15 InspectorTest.runTestSuite([
16 function testSetUp(next) 16 function testSetUp(next)
17 { 17 {
18 treeOutline = WebInspector.panels.elements.treeOutline; 18 treeOutline = InspectorTest.firstElementsTreeOutline();
19 19
20 InspectorTest.nodeWithId("parent-node", callback); 20 InspectorTest.nodeWithId("parent-node", callback);
21 21
22 function callback(node) 22 function callback(node)
23 { 23 {
24 parentNode = node 24 parentNode = node
25 InspectorTest.nodeWithId("child-node", callback2); 25 InspectorTest.nodeWithId("child-node", callback2);
26 } 26 }
27 27
28 function callback2(node) 28 function callback2(node)
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 <div id="parent-node">parent 165 <div id="parent-node">parent
166 <div style="visibility:hidden">hidden 166 <div style="visibility:hidden">hidden
167 <div id="child-node" style="visibility:visible">child</div> 167 <div id="child-node" style="visibility:visible">child</div>
168 </div> 168 </div>
169 </div> 169 </div>
170 170
171 <iframe src="resources/hide-shortcut-iframe.html" onload="runTest()"> 171 <iframe src="resources/hide-shortcut-iframe.html" onload="runTest()">
172 172
173 </body> 173 </body>
174 </html> 174 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/elements/expand-recursively.html ('k') | LayoutTests/inspector/elements/highlight-node-scaled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698