| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |