Bug 1535077 - Switch to using Ref and PureComponent in the SearchBox component. r...
[gecko.git] / layout / reftests / canvas / subpixel-1.html
blob398912e4717a670408d236991b469716cb0d6dc0
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>