summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/background-stretch-1-ref.html
blob: f84768e27c4b29544ce5097d5066f2ba83eca5b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<head>
  <style>
    div {
      background-color: yellow;
      height: 30px;
    }
    .container {
      width: 100px;
    }
    .stretch {
      width: 40px;
      background-color: white;
      display: inline-block;
    }
    .left-spacer {
      width: 30px;
      float: left;
    }
    .right-spacer {
      width: 30px;
      float: right;
    }
    body {
      background-color: black;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="left-spacer"></div>
    <div class="stretch"></div>
    <div class="right-spacer"></div>
  </div>
</body>
</html>