[Webkit-unassigned] [Bug 116991] New: drawImage: clip source image when source rectangle outside of source image.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 29 13:26:31 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=116991
Summary: drawImage: clip source image when source rectangle
outside of source image.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Canvas
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: arno at renevier.net
Hi,
drawImage specification tells:
When the source rectangle is outside the source image, the source rectangle must be clipped to the source image and the destination rectangle must be clipped in the same proportion.[1]
Right now, when that happens, we draw nothing.
Firefox gets it right (at least for HTMLImageElement; for HTMLCanvasElement, there are some strange artifacts)
[1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawimage
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list