[webkit-reviews] review requested: [Bug 40271] The HTML5 canvas 2d.drawImage.zerocanvas test does not pass : [Attachment 59726] Proposed patch v2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 24 21:10:18 PDT 2010


Andreas Kling <andreas.kling at nokia.com> has asked  for review:
Bug 40271: The HTML5 canvas 2d.drawImage.zerocanvas test does not pass
https://bugs.webkit.org/show_bug.cgi?id=40271

Attachment 59726: Proposed patch v2
https://bugs.webkit.org/attachment.cgi?id=59726&action=review

------- Additional Comments from Andreas Kling <andreas.kling at nokia.com>
Proper patch.

See HTML5 spec at
http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-drawimage

"If the image argument is an HTMLCanvasElement object with either a horizontal
dimension or a vertical dimension equal to zero, then the implementation must
raise an INVALID_STATE_ERR exception."


More information about the webkit-reviews mailing list