1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/635373-3.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 +<title>Testing compositing of component alpha layer with complex visible region</title> 1.8 +<style> 1.9 +body { background:white; } 1.10 +#d { 1.11 + position:absolute; 1.12 + top:200px; 1.13 + left:200px; 1.14 + font-size:30px; 1.15 + transform:rotate(30deg); 1.16 + -moz-transform:rotate(30deg); 1.17 +} 1.18 +canvas { display:block; } 1.19 +span { display:block; background:rgba(200,200,200, 0.4); height:40px; } 1.20 +</style> 1.21 +</head> 1.22 +<body> 1.23 +<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas>XYZ</span> 1.24 +<span style="width:100px;"></span> 1.25 +</div> 1.26 +<script> 1.27 +var ctx = document.getElementById("c").getContext("2d"); 1.28 +ctx.fillStyle = "lime"; 1.29 +ctx.fillRect(5,5,5,5); 1.30 +</script> 1.31 +</body> 1.32 +</html>