3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script>
9 InspectorTest.selectNodeAndWaitForStyles("container", step1);
13 InspectorTest.addResult("Before disable");
14 InspectorTest.dumpSelectedElementStyles(true, true);
16 InspectorTest.toggleStyleProperty("font-weight", false);
17 InspectorTest.waitForStyles("container", step2);
22 InspectorTest.addResult("After disable");
23 InspectorTest.dumpSelectedElementStyles(true, true);
25 var treeItem = InspectorTest.getElementStylePropertyTreeItem("font-weight");
26 treeItem.applyStyleText("color: green", true);
27 InspectorTest.waitForStyles("container", step3);
32 InspectorTest.addResult("After change");
33 InspectorTest.dumpSelectedElementStyles(true, true);
34 InspectorTest.completeTest();
40 <body onload="runTest()">
42 Tests that changing a disabled property enables it as well.
45 <div id="container" style="font-weight:bold">