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")'); |