summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-blending/background-blending-background-origin-content-box.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-blending/background-blending-background-origin-content-box.html')
-rw-r--r--layout/reftests/css-blending/background-blending-background-origin-content-box.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/css-blending/background-blending-background-origin-content-box.html b/layout/reftests/css-blending/background-blending-background-origin-content-box.html
new file mode 100644
index 000000000..ccb6fd235
--- /dev/null
+++ b/layout/reftests/css-blending/background-blending-background-origin-content-box.html
@@ -0,0 +1,21 @@
+<!-- Blend a background image and a background color specifying background-origin: content-box -->
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+div {
+ background: url('as-image/white_square.svg'), #777777;
+ background-origin: content-box;
+ width: 180px;
+ height: 180px;
+ margin: 10px;
+ padding: 10px;
+ background-blend-mode: multiply
+}
+</style>
+</head>
+
+<body>
+ <div></div>
+</body>
+</html> \ No newline at end of file