layout/reftests/canvas/784573-1-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 <!DOCTYPE html>
     2 <!--
     3     Any copyright is dedicated to the Public Domain.
     4     http://creativecommons.org/licenses/publicdomain/
     5   -->
     6 <html>
     7 <head>
     8 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
     9 </head>
    10 <body>
    11 <p><canvas width="100" height="100" id="c"></canvas></p>
    12 <script type="text/javascript">
    13 var c = document.getElementById('c').getContext('2d');
    15 c.shadowColor = '#f00';
    16 c.shadowBlur = 4;
    17 c.lineWidth = 2;
    19 c.moveTo(80, 40);
    20 c.lineTo(50, 70);
    21 c.lineTo(20, 40);
    22 c.lineTo(50, 10);
    23 c.closePath();
    24 c.stroke();
    26 </script>
    27 </body>
    28 </html>

mercurial