1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/css-gradients/linear-keywords-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" 1.5 + class="reftest-wait"> 1.6 +<head> 1.7 +<script> 1.8 +function doDraw() { 1.9 + var ctx = document.getElementById('canvas').getContext('2d'); 1.10 + 1.11 + var grad = ctx.createLinearGradient(0,0,300,300); 1.12 + grad.addColorStop(0, '#0000ff'); 1.13 + grad.addColorStop(1, '#000000'); 1.14 + 1.15 + ctx.fillStyle = grad; 1.16 + ctx.fillRect(0,0,300,300); 1.17 + 1.18 + document.documentElement.removeAttribute('class'); 1.19 +} 1.20 +</script> 1.21 +</head> 1.22 +<body onload="doDraw();"> 1.23 +<canvas id="canvas" width="300" height="300"/> 1.24 +</body> 1.25 +</html> 1.26 +