layout/reftests/canvas/transformed-clip-ref.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <html>
     2 <body>
     3   <canvas width="500" height="500"></canvas>
     4 <script>
     5   var canvas = document.getElementsByTagName('canvas')[0];
     6   var ctx = canvas.getContext('2d');
     8   ctx.fillStyle = "red";
     9   ctx.beginPath();
    10   ctx.rect(250, 250, 50, 50);
    11   ctx.clip();
    12   ctx.fillRect(0,0,500,500);
    13 </script>
    14 </body>
    15 </html>

mercurial