1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/635373-3-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 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 + background:url(100x80-white-rect-top-right.png); 1.18 +} 1.19 +canvas { display:block; } 1.20 +span { display:block; background:rgba(200,200,200, 0.4); height:40px; } 1.21 +</style> 1.22 +</head> 1.23 +<body> 1.24 +<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas>XYZ</span> 1.25 +<span style="width:100px;"></span> 1.26 +</div> 1.27 +<script> 1.28 +var ctx = document.getElementById("c").getContext("2d"); 1.29 +ctx.fillStyle = "lime"; 1.30 +ctx.fillRect(5,5,5,5); 1.31 +</script> 1.32 +</body> 1.33 +</html>