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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-computed-style.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-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 e9b6c5da7a1d1c168f3370cb59cd3f04b6127b98..b913aaf8aca65515d87c9ac2806018bbc558c172 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
@@ -1,4 +1,4 @@
-description("Test the computed style of the -webkit-filter property.");
+description("Test the computed style of the filter property.");
// These have to be global for the test helpers to see them.
var filterStyle;
@@ -14,9 +14,9 @@ function testComputedFilterRule(description, rule, expectedValue)
debug("");
debug(description + " : " + rule);
- stylesheet.insertRule("body { -webkit-filter: " + rule + "; }", 0);
+ stylesheet.insertRule("body { filter: " + rule + "; }", 0);
- filterStyle = window.getComputedStyle(document.body).getPropertyValue('-webkit-filter');
+ filterStyle = window.getComputedStyle(document.body).getPropertyValue('filter');
shouldBeEqualToString("filterStyle", expectedValue);
stylesheet.deleteRule(0);
}

Powered by Google App Engine
This is Rietveld 408576698