Summary: | Canvas stroke and strokeRect with SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy have errors | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ben Wells <benwells> | ||||||
Component: | Canvas | Assignee: | Dirk Schulze <krit> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bsalomon, cabanier, commit-queue, esprehn+autocc, gyuyoung.kim, jamesr, jimallanson, kbr, krit, mdelaney7, mikelawther, senorblanco | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Ben Wells
2011-08-23 04:27:43 PDT
*** Bug 81528 has been marked as a duplicate of this bug. *** Rik, could you check this as well? Blink and WebKit are compatible are different to Firefox. (In reply to comment #2) > Rik, could you check this as well? Blink and WebKit are compatible are different to Firefox. Ok, the results are incorrect. For fill we draw into an image buffer and then composite this image buffer with the context. Even though I hope that we can improve the performance with creating a transparency layer, we probably should do something similar here and for bug 66766. (In reply to comment #3) > (In reply to comment #2) > > Rik, could you check this as well? Blink and WebKit are compatible are different to Firefox. > > Ok, the results are incorrect. For fill we draw into an image buffer and then composite this image buffer with the context. Even though I hope that we can improve the performance with creating a transparency layer, we probably should do something similar here and for bug 66766. Have a fix. Am writing test cases now. Created attachment 228667 [details]
Patch
Comment on attachment 228667 [details] Patch r=me >This makes WebKit's behavior interoperable with Firefox and IE as well. Very nice! Comment on attachment 228667 [details] Patch Clearing flags on attachment: 228667 Committed r166836: <http://trac.webkit.org/changeset/166836> All reviewed patches have been landed. Closing bug. |