Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / styles-3 / simple-selector.html
blob59665ebed826e5f284c9f860a631c7bdcc43d893
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>
7 function test()
9 InspectorTest.expandElementsTree(onElementsTreeExpanded);
11 function onElementsTreeExpanded()
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.simpleSelector(children[i]));
17 InspectorTest.completeTest();
21 </script>
22 </head>
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>
39 </body>
40 </html>