Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <body> |
michael@0 | 4 | <div style="opacity:0.8; background-color: gray;"> |
michael@0 | 5 | <div style="overflow: hidden; -moz-transform: translate(0,10px);"> |
michael@0 | 6 | <canvas id="canvas" width="256" height="256"></canvas> |
michael@0 | 7 | </div> |
michael@0 | 8 | </div> |
michael@0 | 9 | <script> |
michael@0 | 10 | var ctx = document.getElementById("canvas").getContext("2d"); |
michael@0 | 11 | ctx.fillStyle = "yellow"; |
michael@0 | 12 | ctx.fillRect(0, 0, 256, 50); |
michael@0 | 13 | ctx.fillStyle = "lime"; |
michael@0 | 14 | ctx.fillRect(0, 50, 256, 206); |
michael@0 | 15 | </script> |
michael@0 | 16 | </body> |
michael@0 | 17 | </html> |