layout/reftests/canvas/text-measure-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 <script>
     3 function load() {
     4     var ctx = document.getElementById("canvas").getContext("2d");
     6     ctx.font = "bold 12px sans-serif";
     7     ctx.scale(4, 4);
     8     var str = "HeHeHeHe";
     9     ctx.fillText(str, 0, 15);
    10 }
    11 </script>
    12 <body onload="load();">
    13 <canvas id="canvas" width="400" height="200"></canvas>
    14 </body>
    15 </html>

mercurial