summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-blending/background-blending-moz-element.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-blending/background-blending-moz-element.html')
-rw-r--r--layout/reftests/css-blending/background-blending-moz-element.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/reftests/css-blending/background-blending-moz-element.html b/layout/reftests/css-blending/background-blending-moz-element.html
new file mode 100644
index 000000000..11272a70f
--- /dev/null
+++ b/layout/reftests/css-blending/background-blending-moz-element.html
@@ -0,0 +1,29 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+
+div {
+ height: 10px;
+}
+
+#b {
+ background: rgba(0,255,0,.5);
+}
+#c {
+ background: -moz-element(#b);
+ background-blend-mode: difference;
+}
+
+</style>
+</head>
+<body>
+<div id="b"></div>
+<div id="c"></div>
+</body>
+</html>
+