content/canvas/crashtests/0px-size-font-shadow.html
author Gregory Szorc <gps@mozilla.com>
Wed, 08 Jan 2014 11:19:21 -0800
changeset 201362 3c72c5ea486c94436fad7e206344a11b8bb3453d
parent 110643 f9922b42205abb3191f5012ba0196f9ef837f393
permissions -rw-r--r--
Bug 957721 - Switch mach's shebang to look for python2.7. r=glandium OpenBSD doesn't have "python" on $PATH by default. "python" may also come from a non-2.7 Python. Switching the shebang will help ensure the user invokes mach with Python 2.7.

<!DOCTYPE HTML>
<body>
<canvas id="canv" width="5" height="5"></canvas>
<script>
var canv = document.getElementById("canv");
var ctx = canv.getContext("2d");

ctx.fillStyle = "red";
// 0 size font shouldn't assert!
ctx.font = "0px Arial";
ctx.shadowColor = '#f00';
ctx.shadowBlur = 4;
ctx.fillText("A", 0, 0);
document.documentElement.className = "";
</script>
</body>
</html>