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