Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | #one { |
michael@0 | 6 | position:absolute; |
michael@0 | 7 | left:0px; top:0px; |
michael@0 | 8 | z-index:4; |
michael@0 | 9 | } |
michael@0 | 10 | #two { |
michael@0 | 11 | position:absolute; |
michael@0 | 12 | top:100px; left:100px; |
michael@0 | 13 | background-color:rgb(0,0,0,0); |
michael@0 | 14 | z-index:3; |
michael@0 | 15 | } |
michael@0 | 16 | #three { |
michael@0 | 17 | position:absolute; |
michael@0 | 18 | left:100px; top:100px; |
michael@0 | 19 | width:200px; height:200px; |
michael@0 | 20 | background-color: rgb(255,0,0); |
michael@0 | 21 | opacity:0.6; |
michael@0 | 22 | z-index:2; |
michael@0 | 23 | } |
michael@0 | 24 | #four { |
michael@0 | 25 | position:absolute; |
michael@0 | 26 | top:100px; left:100px; |
michael@0 | 27 | z-index:1; |
michael@0 | 28 | } |
michael@0 | 29 | </style> |
michael@0 | 30 | <script type="text/javascript"> |
michael@0 | 31 | function paintCanvas() { |
michael@0 | 32 | var canvas = document.getElementById("two"); |
michael@0 | 33 | var ctx = canvas.getContext("2d"); |
michael@0 | 34 | ctx.fillStyle = "rgba(255,0,0, 0.6)"; |
michael@0 | 35 | ctx.fillRect(0,0, 200,200); |
michael@0 | 36 | } |
michael@0 | 37 | </script> |
michael@0 | 38 | </style> |
michael@0 | 39 | </head> |
michael@0 | 40 | <body onload="paintCanvas();"> |
michael@0 | 41 | <embed id="four" type="application/x-test" width="200" height="200" |
michael@0 | 42 | drawmode="solid" color="FFFF0000"></embed> |
michael@0 | 43 | <div id="three"></div> |
michael@0 | 44 | <canvas id="two" width="200" height="200"></canvas> |
michael@0 | 45 | <embed id="one" type="application/x-test" width="400" height="400" |
michael@0 | 46 | drawmode="solid" color="9900FF00"></embed> |
michael@0 | 47 | </body> |
michael@0 | 48 | </html> |
michael@0 | 49 |