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