From the spec of context2d, it accepted the negetive argument. (http://w...

...ww.w3.org/TR/2010/WD-2dcontext-20101019/#dom-context-2d-createimagedata)