gecko/layout/reftests/canvas/text-subpixel-1.html
Robert O'Callahan fd02ebad7e 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

15 lines
313 B
HTML

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