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

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

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 197ec8d5d9ebb26380d6726287195c3d02036ce5..1822644d829260a4b7897854b0e138253b4c2eba 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
@@ -1,4 +1,4 @@
-description("Test the parsing of the -webkit-filter property.");
+description("Test the parsing of the filter property.");
// These have to be global for the test helpers to see them.
var stylesheet, cssRule, declaration;
@@ -14,14 +14,14 @@ function testFilterRule(description, rule, expectedValue)
debug("");
debug(description + " : " + rule);
- stylesheet.insertRule("body { -webkit-filter: " + rule + "; }", 0);
+ stylesheet.insertRule("body { filter: " + rule + "; }", 0);
cssRule = stylesheet.cssRules.item(0);
shouldBe("cssRule.type", "1");
declaration = cssRule.style;
shouldBe("declaration.length", "1");
- shouldBeEqualToString("declaration.getPropertyValue('-webkit-filter')", expectedValue);
+ shouldBeEqualToString("declaration.getPropertyValue('filter')", expectedValue);
}
testFilterRule("Basic reference", "url('#a')", 'url("#a")');

Powered by Google App Engine
This is Rietveld 408576698