RESOLVED FIXED 48292
Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.destination-atop.html
https://bugs.webkit.org/show_bug.cgi?id=48292
Summary Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.destination-a...
Mike Lawther
Reported 2010-10-25 22:21:10 PDT
This layout tests fails. See master bug: https://bugs.webkit.org/show_bug.cgi?id=46506
Attachments
Propose Patch (12.71 KB, patch)
2011-06-19 23:47 PDT, Mustafizur Rahaman (rahaman)
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-03 (1.41 MB, application/zip)
2011-06-20 00:03 PDT, WebKit Review Bot
no flags
Patch after fix Chromium EWS tests (12.20 KB, patch)
2011-06-20 00:05 PDT, Mustafizur Rahaman (rahaman)
no flags
Fixed the style issue (12.22 KB, patch)
2011-06-20 00:16 PDT, Mustafizur Rahaman (rahaman)
jamesr: review-
Patch to incorporate James Robinson's review comments (11.59 KB, patch)
2011-06-25 10:49 PDT, Mustafizur Rahaman (rahaman)
no flags
Mustafizur Rahaman (rahaman)
Comment 1 2011-06-19 23:47:32 PDT
Created attachment 97754 [details] Propose Patch As per the discussion on https://bugs.webkit.org/show_bug.cgi?id=48297, splitting the original patch & only submitting the relevant change for DestinationAtop here. Once this patch is accepted, will submit the remaining patch for image related change in https://bugs.webkit.org/show_bug.cgi?id=48297
WebKit Review Bot
Comment 2 2011-06-20 00:03:05 PDT
Comment on attachment 97754 [details] Propose Patch Attachment 97754 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8908399 New failing tests: canvas/philip/tests/2d.composite.uncovered.fill.destination-atop.html
WebKit Review Bot
Comment 3 2011-06-20 00:03:10 PDT
Created attachment 97756 [details] Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Mustafizur Rahaman (rahaman)
Comment 4 2011-06-20 00:05:25 PDT
Created attachment 97757 [details] Patch after fix Chromium EWS tests Fixed the tests issue reported by chromium EWS
Mustafizur Rahaman (rahaman)
Comment 5 2011-06-20 00:09:43 PDT
Comment on attachment 97757 [details] Patch after fix Chromium EWS tests Cancelling the review because of style issue
Mustafizur Rahaman (rahaman)
Comment 6 2011-06-20 00:16:16 PDT
Created attachment 97758 [details] Fixed the style issue
Julien Chaffraix
Comment 7 2011-06-20 19:39:29 PDT
Comment on attachment 97758 [details] Fixed the style issue View in context: https://bugs.webkit.org/attachment.cgi?id=97758&action=review LGTM. > Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:1520 > + A bit too verbose but at least we understand why we need different behaviors. Also if you put this comment, it is redundant with the previous one for the source-atop one but it should be OK.
Mustafizur Rahaman (rahaman)
Comment 8 2011-06-20 21:40:03 PDT
(In reply to comment #7) > (From update of attachment 97758 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=97758&action=review > > LGTM. > > > Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:1520 > > + > > A bit too verbose but at least we understand why we need different behaviors. Also if you put this comment, it is redundant with the previous one for the source-atop one but it should be OK. Yeah, I already told you so, that's why I had made my previous comment brief though knowing it is not explaining the reason in details :-) Would any one please r+ this patch, if there is no other comment?
James Robinson
Comment 9 2011-06-24 14:13:31 PDT
Comment on attachment 97758 [details] Fixed the style issue View in context: https://bugs.webkit.org/attachment.cgi?id=97758&action=review > Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:1519 > + // As per the HTML Canvas spec (http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html) > + // For source-atop, the expected behavior when S= Transparent(T) & D=Opaque(O) or vice-versa > + // S = O, D= T =>Expected Canvas Color = T > + // S = T, D= O =>Expected Canvas Color = O => i.e. we don't need to clear the Source => NO need for CompositeSourceAtop > + // But for destination-top,the expected behavior S= Transparent(T) & D=Opaque(O) or vice-versa > + // S = O, D= T =>Expected Canvas Color = T > + // S = T, D= O =>Expected Canvas Color = T => i.e. we need to clear the Source => Need for CompositeDestinationAtop I don't think this comment is helpful, please remove it
Mustafizur Rahaman (rahaman)
Comment 10 2011-06-25 10:49:46 PDT
Created attachment 98596 [details] Patch to incorporate James Robinson's review comments Updated patch after removing the redundant comment as per jamesr comment.
Mustafizur Rahaman (rahaman)
Comment 11 2011-07-05 10:38:06 PDT
(In reply to comment #10) > Created an attachment (id=98596) [details] > Patch to incorporate James Robinson's review comments > > Updated patch after removing the redundant comment as per jamesr comment. Can any one please review this patch?
James Robinson
Comment 12 2011-07-10 23:23:48 PDT
Comment on attachment 98596 [details] Patch to incorporate James Robinson's review comments OK
WebKit Review Bot
Comment 13 2011-07-11 00:06:39 PDT
Comment on attachment 98596 [details] Patch to incorporate James Robinson's review comments Clearing flags on attachment: 98596 Committed r90723: <http://trac.webkit.org/changeset/90723>
WebKit Review Bot
Comment 14 2011-07-11 00:06:46 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.