gecko/layout/reftests/canvas/subpixel-1.html
Robert O'Callahan 5866b69247 reftest for bug 929451
--HG--
extra : transplant_source : r%1A%7D%10%C08%3D%17f%C5%8E%16t%97b%13%AF%12%019
2014-01-28 18:14:23 +13:00

15 lines
291 B
HTML

<!DOCTYPE html>
<html>
<body>
<canvas id="canvas"></canvas>
<script>
var c = canvas.getContext('2d');
c.font = "8pt sans-serif";
c.textAlign = "center";
c.textBaseline = "middle";
c.fillStyle = "white";
c.fillText("Test Text", canvas.width / 2, canvas.height / 2);
</script>
</body>
</html>