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

Side by Side Diff: LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <style> 4 <style>
5 h1 { 5 h1 {
6 color: #FF2; 6 color: #FF2;
7 opacity: .5; 7 opacity: .5;
8 -webkit-transform: rotate(1000000000000000065537deg); 8 -webkit-transform: rotate(1000000000000000065537deg);
9 } 9 }
10 </style> 10 </style>
11 11
12 <script src="../../../http/tests/inspector/inspector-test.js"></script> 12 <script src="../../../http/tests/inspector/inspector-test.js"></script>
13 <script src="../../../http/tests/inspector/elements-test.js"></script> 13 <script src="../../../http/tests/inspector/elements-test.js"></script>
14 <script> 14 <script>
15 15
16 function test() 16 function test()
17 { 17 {
18 InspectorTest.runTestSuite([ 18 InspectorTest.runTestSuite([
19 function testInit(next) 19 function testInit(next)
20 { 20 {
21 InspectorTest.selectNodeAndWaitForStyles("inspected", expandSection) ; 21 InspectorTest.selectNodeAndWaitForStyles("inspected", expandSection) ;
22 22
23 function expandSection() 23 function expandSection()
24 { 24 {
25 var section = WebInspector.panels.elements.sidebarPanes.styles.s ections[0][2]; 25 var section = WebInspector.inspectorView.panel("elements").sideb arPanes.styles.sections[0][2];
26 section.expand(); 26 section.expand();
27 next(); 27 next();
28 } 28 }
29 }, 29 },
30 30
31 function testAlterColor(next) 31 function testAlterColor(next)
32 { 32 {
33 var colorTreeElement = InspectorTest.getMatchedStylePropertyTreeItem ("color"); 33 var colorTreeElement = InspectorTest.getMatchedStylePropertyTreeItem ("color");
34 colorTreeElement.startEditing(colorTreeElement.valueElement); 34 colorTreeElement.startEditing(colorTreeElement.valueElement);
35 35
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 </script> 78 </script>
79 </head> 79 </head>
80 80
81 <body onload="runTest()"> 81 <body onload="runTest()">
82 <p> 82 <p>
83 Tests that numeric and color values are incremented/decremented correctly. 83 Tests that numeric and color values are incremented/decremented correctly.
84 </p> 84 </p>
85 <h1 id="inspected">Inspect Me</h1> 85 <h1 id="inspected">Inspect Me</h1>
86 </body> 86 </body>
87 </html> 87 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698