| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | |
| 4 <script src="../../../http/tests/inspector/elements-test.js"></script> | |
| 5 <script> | |
| 6 | |
| 7 function test() | |
| 8 { | |
| 9 InspectorTest.expandElementsTree(onElementsTreeExpanded); | |
| 10 | |
| 11 function onElementsTreeExpanded() | |
| 12 { | |
| 13 var container = InspectorTest.expandedNodeWithId("container"); | |
| 14 var children = container.children(); | |
| 15 for (var i = 0; i < children.length; ++i) | |
| 16 InspectorTest.addResult(WebInspector.DOMPresentationUtils.simpleSele
ctor(children[i])); | |
| 17 InspectorTest.completeTest(); | |
| 18 } | |
| 19 } | |
| 20 | |
| 21 </script> | |
| 22 </head> | |
| 23 | |
| 24 <body onload="runTest()"> | |
| 25 <p>Verifies simple selector behavior.</p> | |
| 26 <div id="container" style="display: none"> | |
| 27 <div id="foo"></div> | |
| 28 <div id="bar" class="foo"></div> | |
| 29 <div class="title"></div> | |
| 30 <input></input> | |
| 31 <input type="text"></input> | |
| 32 <input type="text" class="text-input"></input> | |
| 33 <input type="text" id="text-input"></input> | |
| 34 <p class="article"></p> | |
| 35 <span></span> | |
| 36 <b></b> | |
| 37 </div> | |
| 38 | |
| 39 </body> | |
| 40 </html> | |
| OLD | NEW |