3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script>
10 InspectorTest.selectNodeAndWaitForStyles("nested", step1);
14 var treeItem = InspectorTest.getElementStylePropertyTreeItem("font-weight");
15 InspectorTest.addResult("Before disable");
16 InspectorTest.dumpSelectedElementStyles(true);
18 InspectorTest.selectNodeAndWaitForStyles("container", step2);
23 InspectorTest.toggleStyleProperty("font-weight", false);
24 InspectorTest.selectNodeAndWaitForStyles("nested", step3);
29 InspectorTest.addResult("After disable:");
30 InspectorTest.dumpSelectedElementStyles(true);
31 InspectorTest.completeTest();
37 <body onload="runTest()">
39 Tests that disabling inherited style property does not break further style inspection.
42 <div id="container" style="font-weight:bold">
43 <div id="nested"></div>