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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-1/commit-selector-mark-matching.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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
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 nodeId; 9 var nodeId;
10 var stylesPane; 10 var stylesPane;
11 11
12 InspectorTest.runTestSuite([ 12 InspectorTest.runTestSuite([
13 function setUp(next) { 13 function setUp(next) {
14 InspectorTest.selectNodeAndWaitForStyles("inspected", next); 14 InspectorTest.selectNodeAndWaitForStyles("inspected", next);
15 }, 15 },
16 16
17 function addRule(next) 17 function addRule(next)
18 { 18 {
19 InspectorTest.nodeWithId("inspected", nodeCallback); 19 InspectorTest.nodeWithId("inspected", nodeCallback);
20 20
21 function nodeCallback(node) 21 function nodeCallback(node)
22 { 22 {
23 nodeId = node.id; 23 nodeId = node.id;
24 stylesPane = WebInspector.panels.elements._stylesWidget; 24 stylesPane = UI.panels.elements._stylesWidget;
25 InspectorTest.addNewRule("foo, #inspected, .bar, #inspected", ca llback); 25 InspectorTest.addNewRule("foo, #inspected, .bar, #inspected", ca llback);
26 } 26 }
27 27
28 function callback() 28 function callback()
29 { 29 {
30 InspectorTest.dumpSelectedElementStyles(true, false, false, true ); 30 InspectorTest.dumpSelectedElementStyles(true, false, false, true );
31 next(); 31 next();
32 } 32 }
33 }, 33 },
34 34
(...skipping 20 matching lines...) Expand all
55 55
56 <body onload="runTest()"> 56 <body onload="runTest()">
57 <p> 57 <p>
58 Tests that matching selectors are marked properly after new rule creation and se lector change. 58 Tests that matching selectors are marked properly after new rule creation and se lector change.
59 </p> 59 </p>
60 60
61 <div id="inspected"></div> 61 <div id="inspected"></div>
62 62
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698