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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-3/style-autocomplete.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 namePrompt = new WebInspector.StylesSidebarPane.CSSPropertyPrompt(WebIns pector.cssMetadata().allProperties(), null, true); 9 var namePrompt = new Elements.StylesSidebarPane.CSSPropertyPrompt(SDK.cssMet adata().allProperties(), null, true);
10 var valuePrompt = valuePromptFor("color"); 10 var valuePrompt = valuePromptFor("color");
11 11
12 function valuePromptFor(name) 12 function valuePromptFor(name)
13 { 13 {
14 return new WebInspector.StylesSidebarPane.CSSPropertyPrompt(WebInspector .cssMetadata().propertyValues(name), null, false); 14 return new Elements.StylesSidebarPane.CSSPropertyPrompt(SDK.cssMetadata( ).propertyValues(name), null, false);
15 } 15 }
16 16
17 InspectorTest.runTestSuite([ 17 InspectorTest.runTestSuite([
18 function testEmptyName(next) 18 function testEmptyName(next)
19 { 19 {
20 testAgainstGolden(namePrompt, "", false, [], ["width"], next); 20 testAgainstGolden(namePrompt, "", false, [], ["width"], next);
21 }, 21 },
22 22
23 function testEmptyNameForce(next) 23 function testEmptyNameForce(next)
24 { 24 {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 </script> 112 </script>
113 </head> 113 </head>
114 114
115 <body onload="runTest()"> 115 <body onload="runTest()">
116 <p> 116 <p>
117 Tests that autocompletions are computed correctly when editing the Styles pane. 117 Tests that autocompletions are computed correctly when editing the Styles pane.
118 </p> 118 </p>
119 </body> 119 </body>
120 </html> 120 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698