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

Side by Side Diff: LayoutTests/inspector/elements/styles-3/styles-disable-inherited.html

Issue 1187193005: DevTools: migrate from CSS.setPropertyText to CSS.setStyleText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: for landing Created 5 years, 6 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 <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 var initialize_AdditionalPreload = function() {
8 InspectorTest.preloadModule("source_frame");
9 }
10
7 function test() 11 function test()
8 { 12 {
9 13
10 InspectorTest.selectNodeAndWaitForStyles("nested", step1); 14 InspectorTest.selectNodeAndWaitForStyles("nested", step1);
11 15
12 function step1() 16 function step1()
13 { 17 {
14 var treeItem = InspectorTest.getElementStylePropertyTreeItem("font-weigh t"); 18 var treeItem = InspectorTest.getElementStylePropertyTreeItem("font-weigh t");
15 InspectorTest.addResult("Before disable"); 19 InspectorTest.addResult("Before disable");
16 InspectorTest.dumpSelectedElementStyles(true); 20 InspectorTest.dumpSelectedElementStyles(true);
(...skipping 21 matching lines...) Expand all
38 <p> 42 <p>
39 Tests that disabling inherited style property does not break further style inspe ction. 43 Tests that disabling inherited style property does not break further style inspe ction.
40 </p> 44 </p>
41 45
42 <div id="container" style="font-weight:bold"> 46 <div id="container" style="font-weight:bold">
43 <div id="nested"></div> 47 <div id="nested"></div>
44 </div> 48 </div>
45 49
46 </body> 50 </body>
47 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698