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

Side by Side Diff: LayoutTests/inspector/elements/styles-3/styles-add-new-rule-tab.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 if (!window.eventSender || !window.textInputController) { 13 if (!window.eventSender || !window.textInputController) {
10 document.write("This test does not work in manual mode."); 14 document.write("This test does not work in manual mode.");
11 InspectorTest.completeTest(); 15 InspectorTest.completeTest();
12 return; 16 return;
13 } 17 }
14 18
15 InspectorTest.selectNodeAndWaitForStyles("inspected", step1); 19 InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
16 InspectorTest.addSniffer(WebInspector.UISourceCode.prototype, "addRevision", revisionAdded); 20 InspectorTest.addSniffer(WebInspector.UISourceCode.prototype, "addRevision", revisionAdded);
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 <body onload="runTest()"> 77 <body onload="runTest()">
74 <p> 78 <p>
75 Tests that adding a new rule works after switching nodes. 79 Tests that adding a new rule works after switching nodes.
76 </p> 80 </p>
77 81
78 <div id="inspected" style="font-size: 12px">Text</div> 82 <div id="inspected" style="font-size: 12px">Text</div>
79 <div id="other" style="color:red"></div> 83 <div id="other" style="color:red"></div>
80 84
81 </body> 85 </body>
82 </html> 86 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698