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

Unified Diff: LayoutTests/inspector/elements/styles/styles-add-invalid-property.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/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>

Powered by Google App Engine
This is Rietveld 408576698