summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/as-image/background-scale-with-viewbox-1.html')
-rw-r--r--layout/reftests/svg/as-image/background-scale-with-viewbox-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html b/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html
new file mode 100644
index 0000000000..295aedf520
--- /dev/null
+++ b/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html reftest-zoom="2.0">
+<head>
+ <style>
+ div {
+ background-color: yellow;
+ background-image: url("white-rect-with-viewbox.svg");
+ width: 6px;
+ height: 30px;
+ }
+ body {
+ background-color: black;
+ margin: 0px;
+ padding: 0px;
+ border: 0px;
+ }
+ </style>
+</head>
+<body>
+ <div></div>
+</body>
+</html>