summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-003.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/web-platform/tests/css/filter-effects/filter-function/filter-function-003.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-003.html b/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-003.html
new file mode 100644
index 0000000000..cb1bf35819
--- /dev/null
+++ b/testing/web-platform/tests/css/filter-effects/filter-function/filter-function-003.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>filter function can be applied to a background-image</title>
+<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#funcdef-filter"/>
+<link rel="author" title="Mike Bremford" href="http://bfo.com/" />
+<link rel="match" href="../../reference/ref-filled-green-100px-square.xht"/>
+<style>
+.test {
+ width: 100px;
+ height: 100px;
+ background: filter(url(resources/green-transparent-100x100.png), drop-shadow(50px 0 0 green)) top left no-repeat, red;
+}
+</style>
+</head>
+<body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div class="test"></div>
+</body>
+</html>