Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "text preparation algorithm" to account for NaN
The behavior was previously undefined when calling, for example, ctx.fillText(text, x, y, NaN) or ctx.fillText(text, x, y, undefined). Fixes #1452.
- Loading branch information