4 <title>Testing compositing of translucent layer with complex visible region
</title>
6 body { background:white; }
12 transform:rotate(
30deg);
13 -moz-transform:rotate(
30deg);
15 canvas { display:block; }
16 span { display:block; background:rgba(
200,
200,
200,
0.4); height:
40px; }
20 <div id=
"d"><span style=
"width:20px"><canvas id=
"c" width=
"20" height=
"20"></canvas></span>
21 <span style=
"width:100px;"></span>
24 var ctx
= document
.getElementById("c").getContext("2d");
25 ctx
.fillStyle
= "lime";
26 ctx
.fillRect(5,5,5,5);