1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/633344-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 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:420px; 1.14 + height:140px; 1.15 + line-height:28px; 1.16 +} 1.17 +.inner { 1.18 + float:left; 1.19 + width:140px; 1.20 + height:15.4px; 1.21 + background:black; 1.22 +} 1.23 +canvas { 1.24 + display:block; 1.25 + float:left; 1.26 +} 1.27 +</style> 1.28 +</head> 1.29 +<body> 1.30 +<div class="outer"><div class="inner"></div><canvas id="c" width="10" height="10" style="width:14px; height:14px;"></canvas></div> 1.31 +<script> 1.32 +var ctx = document.getElementById("c").getContext("2d"); 1.33 +ctx.fillStyle = "black"; 1.34 +ctx.fillRect(0, 0, 10, 10); 1.35 +</script> 1.36 +</body> 1.37 +</html>