1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/600045-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<canvas width="100" height="100" id="c" style="background: #f00"></canvas> 1.6 +<script> 1.7 + window.onload = function () { 1.8 + var ctx = document.getElementById('c').getContext('2d'); 1.9 + 1.10 + ctx.globalCompositeOperation = 'lighter'; 1.11 + ctx.scale(5, 5); 1.12 + ctx.strokeStyle = '#0f0'; 1.13 + ctx.lineWidth = 10; 1.14 + ctx.strokeRect(5, 5, 10, 10); 1.15 + } 1.16 +</script>