Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git] / layout / reftests / canvas / 693610-1-notref.html
blob6f2642da1e1320af572d5799b68c7934208ec6d6
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5 </head>
6 <body>
7 <p><canvas width="500" height="200" id="c"></canvas></p>
8 <script type="text/javascript">
9 const t1 = '你好';
10 const t2 = 'Hello';
11 var c = document.getElementById('c').getContext('2d');
12 c.font = 'serif';
13 c.fontSize = '15';
14 c.fillText(t1, 10, 100);
15 c.fillText(t2, 10, 100);
16 </script>
17 </body>
18 </html>