Index: LayoutTests/inspector/elements/styles/styles-add-invalid-property.html |
diff --git a/LayoutTests/inspector/elements/styles/styles-add-invalid-property.html b/LayoutTests/inspector/elements/styles/styles-add-invalid-property.html |
deleted file mode 100644 |
index 5b050e9f9dcd8305210712682ec184b85a69a9a0..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector/elements/styles/styles-add-invalid-property.html |
+++ /dev/null |
@@ -1,70 +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("inspected", step1); |
- |
- var treeElement; |
- var section; |
- |
- function step1() |
- { |
- InspectorTest.addResult("Before append:"); |
- InspectorTest.dumpSelectedElementStyles(true); |
- section = InspectorTest.inlineStyleSection(); |
- |
- // Create and increment. |
- treeElement = section.addNewBlankProperty(); |
- treeElement.startEditing(); |
- treeElement.nameElement.textContent = "color"; |
- treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter")); |
- |
- // Update incrementally to a valid value. |
- treeElement.valueElement.textContent = "rgb("; |
- treeElement.kickFreeFlowStyleEditForTest(); |
- InspectorTest.waitForStyleApplied(step2); |
- } |
- |
- function step2() |
- { |
- // Commit invalid value. |
- treeElement.valueElement.textContent = "rgb(1"; |
- InspectorTest.waitForStyleApplied(step3); |
- treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("Enter")); |
- } |
- |
- function step3() |
- { |
- InspectorTest.selectNodeWithId("other", step4); |
- } |
- |
- function step4() |
- { |
- InspectorTest.selectNodeAndWaitForStyles("inspected", step5); |
- } |
- |
- function step5() |
- { |
- InspectorTest.addResult("After append:"); |
- InspectorTest.dumpSelectedElementStyles(true); |
- InspectorTest.completeTest(); |
- } |
-} |
- |
-</script> |
-</head> |
- |
-<body onload="runTest()"> |
-<p> |
-Tests that adding an invalid property retains its syntax. |
-</p> |
- |
-<div id="inspected" style="font-size: 12px">Text</div> |
-<div id="other"></div> |
- |
-</body> |
-</html> |