Bug 46243 - context.drawImage with (source rect's height) = -(input image's native height) draws nothing
Summary: context.drawImage with (source rect's height) = -(input image's native height...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Matthew Delaney
URL:
Keywords:
Depends on:
Blocks: 45722
  Show dependency treegraph
 
Reported: 2010-09-21 20:19 PDT by Matthew Delaney
Modified: 2010-09-23 12:16 PDT (History)
3 users (show)

See Also:


Attachments
Negative Source Height Test Case (6.45 KB, application/zip)
2010-09-21 20:26 PDT, Matthew Delaney
no flags Details
Patch (13.56 KB, patch)
2010-09-23 11:39 PDT, Matthew Delaney
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Delaney 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.
Comment 1 Matthew Delaney 2010-09-21 20:26:18 PDT
Created attachment 68334 [details]
Negative Source Height Test Case
Comment 2 Matthew Delaney 2010-09-23 11:39:44 PDT
Created attachment 68553 [details]
Patch
Comment 3 WebKit Commit Bot 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>
Comment 4 WebKit Commit Bot 2010-09-23 12:16:05 PDT
All reviewed patches have been landed.  Closing bug.