Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git] / dom / canvas / test / reftest / 1177726-text-stroke-bounds-ref.html
blob46d37d8ed89a3860dc52c133453b92c9e3ebd7da
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Testcase for bug 1177726</title>
6 </head>
7 <body>
9 <canvas id="c" width="400" height="200">
10 <p>No canvas.</p>
11 </canvas>
13 <script>
14 var canvas = document.getElementsByTagName("canvas")[0];
15 var ctx = canvas.getContext('2d');
17 ctx.font = "120px 'Helvetica'";
18 ctx.lineWidth = 15;
19 ctx.lineJoin = "round";
21 ctx.strokeText("Ehsan", 20, 110);
22 </script>
23 </body>
24 </html>