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
);
14 InspectorTest
.addResult("Before disable");
15 InspectorTest
.dumpSelectedElementStyles(true, true);
16 InspectorTest
.toggleStyleProperty("font-weight", false);
17 InspectorTest
.waitForStyleApplied(step2
);
23 InspectorTest
.addResult("After disable");
24 InspectorTest
.dumpSelectedElementStyles(true, true);
26 var treeItem
= InspectorTest
.getElementStylePropertyTreeItem("font-weight");
27 treeItem
.applyStyleText("", false);
29 InspectorTest
.waitForStyleApplied(step3
);
34 InspectorTest
.selectNodeWithId("other", step4
);
39 InspectorTest
.selectNodeAndWaitForStyles("container", step5
);
44 InspectorTest
.addResult("After delete");
45 InspectorTest
.dumpSelectedElementStyles(true, true);
46 InspectorTest
.completeTest();
52 <body onload=
"runTest()">
54 Tests that removal of property following its disabling works.
57 <div id=
"container" style=
"font-weight:bold">