[Webkit-unassigned] [Bug 48292] Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.destination-atop.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 24 14:13:31 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=48292


James Robinson <jamesr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #97758|review?                     |review-
               Flag|                            |




--- Comment #9 from James Robinson <jamesr at chromium.org>  2011-06-24 14:13:31 PST ---
(From update of attachment 97758)
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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list