layout/reftests/css-gradients/radial-2-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-gradients/radial-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     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 radgrad = ctx.createRadialGradient(100,100,0,100,100,50);
    1.12 +  radgrad.addColorStop(0, '#FF0000');
    1.13 +  radgrad.addColorStop(1, '#0000FF');
    1.14 +
    1.15 +  ctx.fillStyle = radgrad;
    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>

mercurial