1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/plugins/test/reftest/plugin-busy-alpha-zindex.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 1.4 +<!doctype html> 1.5 +<html> 1.6 +<head> 1.7 + <style type="text/css"> 1.8 +#one { 1.9 + position:absolute; 1.10 + left:0px; top:0px; 1.11 + z-index:4; 1.12 +} 1.13 +#two { 1.14 + position:absolute; 1.15 + top:100px; left:100px; 1.16 + background-color:rgb(0,0,0,0); 1.17 + z-index:3; 1.18 +} 1.19 +#three { 1.20 + position:absolute; 1.21 + left:100px; top:100px; 1.22 + width:200px; height:200px; 1.23 + background-color: rgb(255,0,0); 1.24 + opacity:0.6; 1.25 + z-index:2; 1.26 +} 1.27 +#four { 1.28 + position:absolute; 1.29 + top:100px; left:100px; 1.30 + z-index:1; 1.31 +} 1.32 + </style> 1.33 + <script type="text/javascript"> 1.34 +function paintCanvas() { 1.35 + var canvas = document.getElementById("two"); 1.36 + var ctx = canvas.getContext("2d"); 1.37 + ctx.fillStyle = "rgba(255,0,0, 0.6)"; 1.38 + ctx.fillRect(0,0, 200,200); 1.39 +} 1.40 + </script> 1.41 +</style> 1.42 +</head> 1.43 +<body onload="paintCanvas();"> 1.44 + <embed id="four" type="application/x-test" width="200" height="200" 1.45 + drawmode="solid" color="FFFF0000"></embed> 1.46 + <div id="three"></div> 1.47 + <canvas id="two" width="200" height="200"></canvas> 1.48 + <embed id="one" type="application/x-test" width="400" height="400" 1.49 + drawmode="solid" color="9900FF00"></embed> 1.50 +</body> 1.51 +</html> 1.52 +