1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/633344-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<style> 1.8 +.outer { 1.9 + background:yellow; 1.10 + position:absolute; 1.11 + left:100px; 1.12 + top:100px; 1.13 + width:300px; 1.14 + height:100px; 1.15 + -moz-transform:scale(1.4); 1.16 + -moz-transform-origin:top left; 1.17 + transform:scale(1.4); 1.18 + transform-origin:top left; 1.19 +} 1.20 +.inner { 1.21 + float:left; 1.22 + width:100px; 1.23 + height:11px; 1.24 + background:black; 1.25 +} 1.26 +canvas { 1.27 + display:block; 1.28 + float:left; 1.29 +} 1.30 +</style> 1.31 +</head> 1.32 +<body> 1.33 +<div class="outer"><div class="inner"></div><canvas id="c" width="10" height="10"></canvas></div> 1.34 +<script> 1.35 +var ctx = document.getElementById("c").getContext("2d"); 1.36 +ctx.fillStyle = "black"; 1.37 +ctx.fillRect(0, 0, 10, 10); 1.38 +</script> 1.39 +</body> 1.40 +</html>