summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/background-stretch-1.html
blob: 0931cf3ccce9fc5ee1940706d077c880b40c7db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>