Index: LayoutTests/inspector/elements/styles/filter-matched-styles-hides-separators.html |
diff --git a/LayoutTests/inspector/elements/styles/filter-matched-styles-hides-separators.html b/LayoutTests/inspector/elements/styles/filter-matched-styles-hides-separators.html |
deleted file mode 100644 |
index ea6844b768087f3fcb3db52f5bc70024bbf06485..0000000000000000000000000000000000000000 |
--- a/LayoutTests/inspector/elements/styles/filter-matched-styles-hides-separators.html |
+++ /dev/null |
@@ -1,89 +0,0 @@ |
-<html> |
-<head> |
-<script src="../../../http/tests/inspector/inspector-test.js"></script> |
-<script src="../../../http/tests/inspector/elements-test.js"></script> |
-<style> |
-#first { |
- font-family: arial; |
- display: block; |
-} |
- |
-#second { |
- font-family: helvetica; |
-} |
- |
-#third { |
- font-family: times; |
- display: block; |
-} |
- |
-#third::before { |
- content: "uno-1"; |
-} |
- |
-#third::after { |
- content: "dos-2"; |
- display: block; |
-} |
- |
-</style> |
-<script> |
-function test() |
-{ |
- InspectorTest.runTestSuite([ |
- function selectInitialNode(next) |
- { |
- InspectorTest.selectNodeAndWaitForStyles("third", next); |
- }, |
- |
- function onNodeSelected(next) |
- { |
- InspectorTest.dumpRenderedMatchedStyles(); |
- next(); |
- }, |
- |
- function testFilterFontFamily(next) |
- { |
- InspectorTest.filterMatchedStyles("font-family"); |
- dumpSidebarSeparators(); |
- next(); |
- }, |
- |
- function testContentProperty(next) |
- { |
- InspectorTest.filterMatchedStyles("content"); |
- dumpSidebarSeparators(); |
- next(); |
- }, |
- |
- function testDisplayProperty(next) |
- { |
- InspectorTest.filterMatchedStyles("display"); |
- dumpSidebarSeparators(); |
- next(); |
- } |
- ]); |
- |
- function dumpSidebarSeparators() |
- { |
- var separators = WebInspector.panels.elements.sidebarPanes.styles.element.querySelectorAll(".sidebar-separator"); |
- for (var i = 0; i < separators.length; ++i) { |
- var separator = separators[i]; |
- var hidden = separator.classList.contains("hidden"); |
- var text = String.sprintf("%s %s", hidden ? "[ HIDDEN ] " : "[ VISIBLE ]", separator.deepTextContent()); |
- InspectorTest.addResult(text); |
- } |
- } |
-} |
-</script> |
-</head> |
-<body onload="runTest()"> |
-<p>Verifies that filtering in StylesSidebarPane hides sidebar separators.</p> |
-<div id="first"> |
- <div id="second"> |
- <div id="third"> |
- </div> |
- </div> |
-</div> |
-</body> |
-</html> |