RESOLVED FIXED 66762
Canvas stroke and strokeRect with SourceIn, DestinationIn, SourceOut, DestinationAtop and Copy have errors
https://bugs.webkit.org/show_bug.cgi?id=66762
Summary Canvas stroke and strokeRect with SourceIn, DestinationIn, SourceOut, Destina...
Ben Wells
Reported 2011-08-23 04:27:43 PDT
Created attachment 104816 [details] Test case These have the same errors as were recently fixed in bug 66036.
Attachments
Test case (3.55 KB, text/html)
2011-08-23 04:27 PDT, Ben Wells
no flags
Patch (37.81 KB, patch)
2014-04-05 04:56 PDT, Dirk Schulze
no flags
Jim Allanson
Comment 1 2012-03-27 01:37:02 PDT
*** Bug 81528 has been marked as a duplicate of this bug. ***
Dirk Schulze
Comment 2 2014-04-04 13:32:25 PDT
Rik, could you check this as well? Blink and WebKit are compatible are different to Firefox.
Dirk Schulze
Comment 3 2014-04-04 22:26:08 PDT
(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.
Dirk Schulze
Comment 4 2014-04-05 00:49:32 PDT
(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.
Dirk Schulze
Comment 5 2014-04-05 04:56:10 PDT
Andreas Kling
Comment 6 2014-04-05 12:54:14 PDT
Comment on attachment 228667 [details] Patch r=me >This makes WebKit's behavior interoperable with Firefox and IE as well. Very nice!
WebKit Commit Bot
Comment 7 2014-04-05 12:57:30 PDT
Comment on attachment 228667 [details] Patch Clearing flags on attachment: 228667 Committed r166836: <http://trac.webkit.org/changeset/166836>
WebKit Commit Bot
Comment 8 2014-04-05 12:57:35 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.