Bug 46243

Summary: context.drawImage with (source rect's height) = -(input image's native height) draws nothing
Product: WebKit Reporter: Matthew Delaney <mdelaney7>
Component: CanvasAssignee: Matthew Delaney <mdelaney7>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mitz, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 45722    
Attachments:
Description Flags
Negative Source Height Test Case
none
Patch none

Matthew Delaney
Reported 2010-09-21 20:19:31 PDT
In particular, I've found that calling drawImage with the negative of the source image's height fails to draw. Test cases attached.
Attachments
Negative Source Height Test Case (6.45 KB, application/zip)
2010-09-21 20:26 PDT, Matthew Delaney
no flags
Patch (13.56 KB, patch)
2010-09-23 11:39 PDT, Matthew Delaney
no flags
Matthew Delaney
Comment 1 2010-09-21 20:26:18 PDT
Created attachment 68334 [details] Negative Source Height Test Case
Matthew Delaney
Comment 2 2010-09-23 11:39:44 PDT
WebKit Commit Bot
Comment 3 2010-09-23 12:16:00 PDT
Comment on attachment 68553 [details] Patch Clearing flags on attachment: 68553 Committed r68176: <http://trac.webkit.org/changeset/68176>
WebKit Commit Bot
Comment 4 2010-09-23 12:16:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.