no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / bugs / 1276161-1a.html
blob2bdd65708c370d13cd76c64a6121f54fa4128609
1 <!DOCTYPE html>
2 <html lang="en">
3 <meta charset="utf-8">
4 <title>Test for bug 1276161 - dashed lines in canvas should look different from solid lines</title>
6 <canvas id="canvas"></canvas>
8 <script>
10 var canvas = document.getElementById('canvas');
11 canvas.width = 200;
12 canvas.height = 200;
14 var ctxx = canvas.getContext('2d');
15 ctxx.strokeStyle = 'black';
16 ctxx.setLineDash([2,4]);
17 ctxx.moveTo(10, 10);
18 ctxx.lineWidth = 2;
19 ctxx.lineTo(30, 30);
20 ctxx.stroke();
21 ctxx.restore();
23 </script>
24 </body>
25 </html>