3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/elements-test.js"></script>
7 var initialize_AdditionalPreload = function() {
8 InspectorTest
.preloadModule("source_frame");
14 InspectorTest
.selectNodeAndWaitForStyles("nested", step1
);
18 var treeItem
= InspectorTest
.getElementStylePropertyTreeItem("font-weight");
19 InspectorTest
.addResult("Before disable");
20 InspectorTest
.dumpSelectedElementStyles(true);
22 InspectorTest
.selectNodeAndWaitForStyles("container", step2
);
27 InspectorTest
.toggleStyleProperty("font-weight", false);
28 InspectorTest
.selectNodeAndWaitForStyles("nested", step3
);
33 InspectorTest
.addResult("After disable:");
34 InspectorTest
.dumpSelectedElementStyles(true);
35 InspectorTest
.completeTest();
41 <body onload=
"runTest()">
43 Tests that disabling inherited style property does not break further style inspection.
46 <div id=
"container" style=
"font-weight:bold">
47 <div id=
"nested"></div>