summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/background-stretch-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/as-image/background-stretch-1-ref.html')
-rw-r--r--layout/reftests/svg/as-image/background-stretch-1-ref.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/svg/as-image/background-stretch-1-ref.html b/layout/reftests/svg/as-image/background-stretch-1-ref.html
new file mode 100644
index 0000000000..3b017fbdf7
--- /dev/null
+++ b/layout/reftests/svg/as-image/background-stretch-1-ref.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ div {
+ background-color: yellow;
+ height: 30px;
+ }
+ .container {
+ width: 100px;
+ }
+ .should-not-stretch {
+ width: 6px;
+ background-color: white;
+ display: inline-block;
+ }
+ .left-spacer {
+ width: 47px;
+ float: left;
+ }
+ .right-spacer {
+ width: 47px;
+ float: right;
+ }
+ body {
+ background-color: black;
+ }
+ </style>
+</head>
+<body>
+ <div class="container">
+ <div class="left-spacer"></div>
+ <div class="should-not-stretch"></div>
+ <div class="right-spacer"></div>
+ </div>
+</body>
+</html>