Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add guards to almost CanvasRenderingContext2D methods according to th…
…e spec. http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/ says "Except where otherwise specified, for the 2D context interface, any method call with a numeric argument whose value is infinite or a NaN value must be ignored." We might define the annotation to generate this behavior in glue code. However, at now, I use this workaround way.
- Loading branch information
1 parent
05c6d04
commit bc06526
Showing
1 changed file
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters