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/edit-value-url-with-color.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/edit-value-url-with-color.html
diff --git a/LayoutTests/inspector/elements/styles/edit-value-url-with-color.html b/LayoutTests/inspector/elements/styles/edit-value-url-with-color.html
deleted file mode 100644
index fca34beae95ee41355b5c61b538e42d1f1b04aaf..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/edit-value-url-with-color.html
+++ /dev/null
@@ -1,56 +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()
-{
- var maxIndex = 11;
- var idIndex = 1;
-
- WebInspector.ColowSwatchPopoverIcon._colorFormat = function() {
- return WebInspector.Color.Format.RGB;
- };
-
- selectDivAndEditValue();
-
- function selectDivAndEditValue()
- {
- InspectorTest.selectNodeAndWaitForStyles("inspected" + idIndex++, editCallback);
- }
-
- function editCallback()
- {
- var treeElement = InspectorTest.getMatchedStylePropertyTreeItem("background");
- treeElement.startEditing(treeElement.valueElement);
- InspectorTest.addResult(treeElement.valueElement.textContent);
- if (idIndex <= maxIndex)
- selectDivAndEditValue();
- else
- InspectorTest.completeTest();
- }
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that colors are not re-formatted inside url(...) when editing property values.
-</p>
-
-<div id="inspected1" style="background: white">"white" background</div>
-<div id="inspected2" style="background: url( white )">"url( white )" background</div>
-<div id="inspected3" style="background: url(white.png)">"url(white.png)" background</div>
-<div id="inspected4" style="background: url(../foo/white.png)">"url(../foo/white.png)" background</div>
-<div id="inspected5" style="background: green url(white)">"green url(white)" background</div>
-<div id="inspected6" style="background: url(white) green">"url(white) green" background</div>
-<div id="inspected7" style="background: url(white) green, url(green)">"url(white) green, url(green)" background</div>
-<div id="inspected8" style="background: url(white), url(green)">"url(white), url(green)" background</div>
-<div id="inspected9" style="background: hsl(0, 50%, 50%) url(white)">"hsl(0, 50%, 50%) url(white)" background</div>
-<div id="inspected10" style="background: url(white) hsl(0, 50%, 50%)">"url(white) hsl(0, 50%, 50%)" background</div>
-<div id="inspected11" style="background: url(../black/white.png)">"url(../black/white.png)" background</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698