| Index: LayoutTests/inspector/elements/styles/commit-selector.html
|
| diff --git a/LayoutTests/inspector/elements/styles/commit-selector.html b/LayoutTests/inspector/elements/styles/commit-selector.html
|
| deleted file mode 100644
|
| index f0405f70506d231322f3e87a4577b9586bdd264b..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/elements/styles/commit-selector.html
|
| +++ /dev/null
|
| @@ -1,58 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<style>
|
| -#inspected {
|
| - color: green;
|
| -}
|
| -</style>
|
| -<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);
|
| -
|
| - function step1()
|
| - {
|
| - InspectorTest.addResult("=== Before selector modification ===");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - var section = InspectorTest.firstMatchedStyleSection();
|
| - section.startEditingSelector();
|
| - section._selectorElement.textContent = "hr, #inspected ";
|
| - InspectorTest.waitForSelectorCommitted(step2);
|
| - section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
|
| - }
|
| -
|
| - function step2()
|
| - {
|
| - InspectorTest.addResult("=== After non-affecting selector modification ===");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - var section = InspectorTest.firstMatchedStyleSection();
|
| - section.startEditingSelector();
|
| - section._selectorElement.textContent = "#inspectedChanged";
|
| - InspectorTest.waitForSelectorCommitted(step3);
|
| - section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.addResult("=== After affecting selector modification ===");
|
| - InspectorTest.dumpSelectedElementStyles(true);
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests that renaming a selector updates element styles. <a href="https://bugs.webkit.org/show_bug.cgi?id=70018">Bug 70018</a>.
|
| -</p>
|
| -
|
| -<div id="inspected" style="color: red">Text</div>
|
| -<div id="other"></div>
|
| -
|
| -</body>
|
| -</html>
|
|
|