summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1316719-1c.html
blob: 32d00265e1f17cb381eabd2f0fbfca798d9648f3 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>mask-image with scale transform</title>
<style>

body {
  margin: 0;
}

#transform {
  width: 10px;
  height: 10px;
  transform: scale(20);
  transform-origin: top left;
  padding: 5px 10px;
}

#mask {
  width: 10px;
  height: 10px;
  background: green;
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 10 10"><circle cx="5" cy="5" r="5" fill="black" fill-opacity="0.8"/></svg>');
}

</style>

<div id="transform">
  <div id="mask"></div>
</div>