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

Side by Side Diff: LayoutTests/inspector/elements/styles/simple-selector.html

Issue 458213002: DevTools: add test to verify simple selector behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebInspector.BlankStylePropertiesSection.makeNormal is private Created 6 years, 4 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
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698