layout/reftests/canvas/subpixel-1.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 <html>
     3 <body>
     4 <canvas id="canvas"></canvas>
     5 <script>
     6 var c = canvas.getContext('2d');
     7 c.font = "8pt sans-serif";
     8 c.textAlign = "center";
     9 c.textBaseline = "middle";
    10 c.fillStyle = "white";
    11 c.fillText("Test Text", canvas.width / 2, canvas.height / 2);
    12 </script>
    13 </body>
    14 </html>

mercurial