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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-parsing.js

Issue 1363233003: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix interpolation tests Created 5 years, 3 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: third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-parsing.js
diff --git a/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-parsing.js b/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-parsing.js
index 6c5087b114040e3dbd520e60cf1aef4d6b47f14b..197ec8d5d9ebb26380d6726287195c3d02036ce5 100644
--- a/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-parsing.js
+++ b/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-parsing.js
@@ -24,10 +24,10 @@ function testFilterRule(description, rule, expectedValue)
shouldBeEqualToString("declaration.getPropertyValue('-webkit-filter')", expectedValue);
}
-testFilterRule("Basic reference", "url('#a')", "url('#a')");
-testFilterRule("Bare unquoted reference converting to quoted form", "url(#a)", "url('#a')");
-testFilterRule("Multiple references", "url('#a') url('#b')", "url('#a') url('#b')");
-testFilterRule("Reference as 2nd value", "grayscale(1) url('#a')", "grayscale(1) url('#a')");
+testFilterRule("Basic reference", "url('#a')", 'url("#a")');
+testFilterRule("Bare unquoted reference converting to quoted form", "url(#a)", 'url("#a")');
+testFilterRule("Multiple references", "url('#a') url('#b')", 'url("#a") url("#b")');
+testFilterRule("Reference as 2nd value", "grayscale(1) url('#a')", 'grayscale(1) url("#a")');
testFilterRule("Integer value", "grayscale(1)");
testFilterRule("Percentage value", "grayscale(50%)");
testFilterRule("Float value converts to integer", "grayscale(1.0)", "grayscale(1)");

Powered by Google App Engine
This is Rietveld 408576698