summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/background-stretch-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/as-image/background-stretch-1.html')
-rw-r--r--layout/reftests/svg/as-image/background-stretch-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/svg/as-image/background-stretch-1.html b/layout/reftests/svg/as-image/background-stretch-1.html
new file mode 100644
index 000000000..0931cf3cc
--- /dev/null
+++ b/layout/reftests/svg/as-image/background-stretch-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ div {
+ height: 30px;
+ width: 100px;
+ background-image: url("white-rect-with-viewbox.svg");
+ background-repeat: no-repeat;
+ background-position: 30px;
+ background-size: 40px 30px;
+ background-color: yellow;
+ }
+ body {
+ background-color: black;
+ }
+ </style>
+</head>
+<body>
+ <div></div>
+</body>
+</html>