Index: LayoutTests/inspector/elements/styles/styles-add-new-rule-to-stylesheet.html |
diff --git a/LayoutTests/inspector/elements/styles/styles-add-new-rule-to-stylesheet.html b/LayoutTests/inspector/elements/styles/styles-add-new-rule-to-stylesheet.html |
deleted file mode 100644 |
index 6177f9af74d8e91aa11aa206913ef9cdbf4babb2..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector/elements/styles/styles-add-new-rule-to-stylesheet.html |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-<html> |
-<head> |
-<script src="../../../http/tests/inspector/inspector-test.js"></script> |
-<script src="../../../http/tests/inspector/elements-test.js"></script> |
-<script src="styles-test.js"></script> |
-<link rel="stylesheet" href="resources/different-rule-types.css"> |
-<script> |
- |
-function test() |
-{ |
- InspectorTest.selectNodeAndWaitForStyles("inspect", fetchStyleSheet); |
- |
- function fetchStyleSheet() |
- { |
- var styleSheets = InspectorTest.cssModel.allStyleSheets(); |
- for (var i = 0; i < styleSheets.length; ++i) { |
- var styleSheetHeader = styleSheets[i]; |
- if (styleSheetHeader.sourceURL.indexOf("different-rule-types.css") === -1) |
- continue; |
- InspectorTest.addNewRuleInStyleSheet(styleSheetHeader, "#other, div", onRuleAdded); |
- return; |
- } |
- } |
- |
- function onRuleAdded() |
- { |
- InspectorTest.selectNodeAndWaitForStyles("other", onNodeSelected); |
- } |
- |
- function onNodeSelected() |
- { |
- InspectorTest.dumpSelectedElementStyles(true, false, true); |
- InspectorTest.completeTest(); |
- } |
-} |
- |
-</script> |
-</head> |
- |
-<body onload="runTest()"> |
-<p> |
-Tests that adding new rule in the stylesheet end works as expected. |
-</p> |
- |
-<div class="inspected">Styled element</div> |
-<div id="inspect"></div> |
-<div id="other"></div> |
- |
-</body> |
-</html> |