Index: LayoutTests/inspector/elements/styles/styles-disable-then-delete.html |
diff --git a/LayoutTests/inspector/elements/styles/styles-disable-then-delete.html b/LayoutTests/inspector/elements/styles/styles-disable-then-delete.html |
deleted file mode 100644 |
index 3376dc3810cb8326877143f6f1bc0c2c8e4af5c9..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector/elements/styles/styles-disable-then-delete.html |
+++ /dev/null |
@@ -1,64 +0,0 @@ |
-<html> |
-<head> |
-<script src="../../../http/tests/inspector/inspector-test.js"></script> |
-<script src="../../../http/tests/inspector/elements-test.js"></script> |
-<script> |
- |
-function test() |
-{ |
- InspectorTest.selectNodeAndWaitForStyles("container", step1); |
- |
- function step1() |
- { |
- // Disable property |
- InspectorTest.addResult("Before disable"); |
- InspectorTest.dumpSelectedElementStyles(true, true); |
- InspectorTest.toggleStyleProperty("font-weight", false); |
- InspectorTest.waitForStyleApplied(step2); |
- } |
- |
- function step2() |
- { |
- // Delete style |
- InspectorTest.addResult("After disable"); |
- InspectorTest.dumpSelectedElementStyles(true, true); |
- |
- var treeItem = InspectorTest.getElementStylePropertyTreeItem("font-weight"); |
- treeItem.applyStyleText("", false); |
- |
- InspectorTest.waitForStyleApplied(step3); |
- } |
- |
- function step3() |
- { |
- InspectorTest.selectNodeWithId("other", step4); |
- } |
- |
- function step4() |
- { |
- InspectorTest.selectNodeAndWaitForStyles("container", step5); |
- } |
- |
- function step5(node) |
- { |
- InspectorTest.addResult("After delete"); |
- InspectorTest.dumpSelectedElementStyles(true, true); |
- InspectorTest.completeTest(); |
- } |
-} |
-</script> |
-</head> |
- |
-<body onload="runTest()"> |
-<p> |
-Tests that removal of property following its disabling works. |
-</p> |
- |
-<div id="container" style="font-weight:bold"> |
-</div> |
- |
-<div id="other"> |
-</div> |
- |
-</body> |
-</html> |