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

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

Issue 1783693006: Use <string> serialization rules for computed value of reference filter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 years, 9 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-computed-style.js
diff --git a/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-computed-style.js b/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-computed-style.js
index 7a73edd5548b64b6acb454f5876dbaeb94144cbf..e9b6c5da7a1d1c168f3370cb59cd3f04b6127b98 100644
--- a/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-computed-style.js
+++ b/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-computed-style.js
@@ -21,10 +21,10 @@ function testComputedFilterRule(description, rule, expectedValue)
stylesheet.deleteRule(0);
}
-testComputedFilterRule("Basic reference", "url('#a')");
-testComputedFilterRule("Bare unquoted reference converting to quoted form", "url(#a)", "url('#a')");
-testComputedFilterRule("Multiple references", "url('#a') url('#b')");
-testComputedFilterRule("Reference as 2nd value", "grayscale(1) url('#a')");
+testComputedFilterRule("Basic reference", "url('#a')", 'url("#a")');
+testComputedFilterRule("Bare unquoted reference converting to quoted form", "url(#a)", 'url("#a")');
+testComputedFilterRule("Multiple references", "url('#a') url('#b')", 'url("#a") url("#b")');
+testComputedFilterRule("Reference as 2nd value", "grayscale(1) url('#a')", 'grayscale(1) url("#a")');
testComputedFilterRule("Integer value", "grayscale(1)");
testComputedFilterRule("Float value converts to integer", "grayscale(1.0)", "grayscale(1)");
testComputedFilterRule("Zero value", "grayscale(0)");

Powered by Google App Engine
This is Rietveld 408576698