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 | <head> |
michael@0 | 4 | <style> |
michael@0 | 5 | body { background:white; } |
michael@0 | 6 | #d { |
michael@0 | 7 | position:absolute; |
michael@0 | 8 | top:200px; |
michael@0 | 9 | left:200px; |
michael@0 | 10 | font-size:30px; |
michael@0 | 11 | transform:rotate(30deg); |
michael@0 | 12 | -moz-transform:rotate(30deg); |
michael@0 | 13 | background:url(100x80-white-rect-top-right.png); |
michael@0 | 14 | } |
michael@0 | 15 | canvas { display:block; } |
michael@0 | 16 | span { display:block; background:rgb(200,200,200); height:40px; } |
michael@0 | 17 | </style> |
michael@0 | 18 | </head> |
michael@0 | 19 | <body> |
michael@0 | 20 | <div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span> |
michael@0 | 21 | <span style="width:100px;"></span> |
michael@0 | 22 | </div> |
michael@0 | 23 | <script> |
michael@0 | 24 | var ctx = document.getElementById("c").getContext("2d"); |
michael@0 | 25 | ctx.fillStyle = "lime"; |
michael@0 | 26 | ctx.fillRect(5,5,5,5); |
michael@0 | 27 | </script> |
michael@0 | 28 | </body> |
michael@0 | 29 | </html> |