summaryrefslogtreecommitdiffstats
path: root/layout/reftests/transform-3d/1637067-1-ref.html
blob: e46b352f0777b8dcdece8d37c109e0efb4216f83 (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
<!DOCTYPE html>
<html>
<head>
<style>

.text {
  position: absolute;
  top: 100px;
  left: 45px;
  height: 400px;
  width: 400px;
}

.thing {
  position: absolute;
  top: 0;
  left: 0;
  width: 512px;
  height: 512px;
  background: url('data:image/svg+xml;utf8,<svg width="512" height="200" viewBox="0 0 512 512" fill="black" xmlns="http://www.w3.org/2000/svg"><text x="0" y="400" font-size="100">some text</text></svg>');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

</style>
</head>
<body>
<div class='text'>
<div class="thing"></div>
</div>
</body>
</html>