gecko/layout/reftests/canvas/text-subpixel-1-ref.html
Robert O'Callahan 0da523cad4 Bug 840695. Make aAntialiasMode default to AA_DEFAULT, because, well, it's the default. r=bas
--HG--
extra : rebase_source : f22329337aa120573efc13fa6ac0bb111ff0dba2
2013-02-25 12:01:16 +13:00

13 lines
270 B
HTML

<!DOCTYPE HTML>
<html>
<body style="background:white">
<canvas id="c" width="500" height="500"></canvas>
<script>
var ctx = c.getContext('2d');
ctx.fillStyle = "black";
ctx.font = "50px sans-serif";
ctx.fillText("Hello", 200, 200);
</script>
</body>
</html>