Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: LayoutTests/inspector/elements/styles/commit-selector.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698