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

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

Issue 2055733002: Clean up script-tests in css3/filters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix expectations for un-duped test Created 4 years, 6 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.js
diff --git a/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property.js b/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property.js
deleted file mode 100644
index fc94f67b0ddc9e2bbd856331e76b6eac9553be18..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property.js
+++ /dev/null
@@ -1,18 +0,0 @@
-description("Test the parsing of the -webkit-filter property.");
-
-var styleElement = document.createElement("style");
-document.head.appendChild(styleElement);
-var stylesheet = styleElement.sheet;
-
-// add a -webkit-filter property to the start of the stylesheet
-stylesheet.addRule("body", "-webkit-filter: url(#a) url(#b)", 0);
-
-var cssRule = stylesheet.cssRules.item(0);
-
-shouldBe("cssRule.type", "1");
-
-var declaration = cssRule.style;
-shouldBe("declaration.length", "1");
-shouldBeEqualToString("declaration.getPropertyValue('-webkit-filter')", 'url("#a") url("#b")');
-
-successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698