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

Side by Side Diff: LayoutTests/http/tests/inspector/styles/selector-line.html

Issue 13845021: DevTools: Bring Sass support from behind the experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 5 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 <style> 3 <style>
4 #inspected 4 #inspected
5 { 5 {
6 color: green; 6 color: green;
7 } 7 }
8 </style> 8 </style>
9 <link rel="stylesheet" href="resources/selector-line.css" /> 9 <link rel="stylesheet" href="resources/selector-line.css" />
10 <script src="../inspector-test.js"></script> 10 <script src="../inspector-test.js"></script>
11 <script src="../elements-test.js"></script> 11 <script src="../elements-test.js"></script>
12 <script> 12 <script>
13 13
14 function test() 14 function test()
15 { 15 {
16 WebInspector.experimentsSettings.sass.isEnabled = function() { return true; } 16 WebInspector.showPanel("elements");
17 InspectorTest.reloadPage(step1); 17 InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
18 18
19 function step1() 19 function step1()
20 { 20 {
21 WebInspector.showPanel("elements");
22 InspectorTest.selectNodeAndWaitForStyles("inspected", step2);
23 }
24
25 function step2()
26 {
27 InspectorTest.dumpSelectedElementStyles(true); 21 InspectorTest.dumpSelectedElementStyles(true);
28 InspectorTest.completeTest(); 22 InspectorTest.completeTest();
29 } 23 }
30 } 24 }
31 25
32 </script> 26 </script>
33 </head> 27 </head>
34 28
35 <body onload="runTest()"> 29 <body onload="runTest()">
36 <p> 30 <p>
37 Tests that selector line is computed correctly regardless of its start column. < a href="https://bugs.webkit.org/show_bug.cgi?id=110732">Bug 110732</a>. 31 Tests that selector line is computed correctly regardless of its start column. < a href="https://bugs.webkit.org/show_bug.cgi?id=110732">Bug 110732</a>.
38 </p> 32 </p>
39 33
40 <div id="container"> 34 <div id="container">
41 <div id="inspected">Text</div> 35 <div id="inspected">Text</div>
42 </div> 36 </div>
43 37
44 </body> 38 </body>
45 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698