summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/633344-1.html
blob: 2713a6db4dfed007701a1707ef3e799568626102 (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>
.outer {
  background:yellow;
  position:absolute;
  left:100px;
  top:100px;
  width:300px;
  height:100px;
  transform:scale(1.4);
  transform-origin:top left;
  transform:scale(1.4);
  transform-origin:top left;
}
.inner {
  float:left;
  width:100px;
  height:11px;
  background:black;
}
canvas {
  display:block;
  float:left;
}
</style>
</head>
<body>
<div class="outer"><div class="inner"></div><canvas id="c" width="10" height="10"></canvas></div>
<script>
var ctx = document.getElementById("c").getContext("2d");
ctx.fillStyle = "black";
ctx.fillRect(0, 0, 10, 10);
</script>
</body>
</html>