1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/canvas/text-subpixel-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<body> 1.7 +<canvas moz-opaque id="c" width="500" height="500"></canvas> 1.8 +<script> 1.9 +var ctx = c.getContext('2d'); 1.10 +ctx.fillStyle = "white"; 1.11 +ctx.fillRect(0, 0, 500, 500); 1.12 +ctx.fillStyle = "black"; 1.13 +ctx.font = "50px sans-serif"; 1.14 +ctx.fillText("Hello", 200, 200); 1.15 +</script> 1.16 +</body> 1.17 +</html>