[Webkit-unassigned] [Bug 45421] New: CoreGraphics applies the shadow to canvas' clearRect(), which is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 8 16:46:16 PDT 2010


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

           Summary: CoreGraphics applies the shadow to canvas'
                    clearRect(), which is wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jamesr at chromium.org
                CC: andreas.kling at nokia.com


HTML5's canvas 2d spec says: "Shapes are painted without affecting the current path, and are subject to the clipping region, and, with the exception of clearRect(), also shadow effects, global alpha, and global composition operators." (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#simple-shapes-(rectangles)).  However, the CoreGraphics port applies the current shadow to clearRect().  This can be seen by the top middle square of fast/canvas/canvas-incremental-repaint.html.  CoreGraphics renders it like this: http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/fast/canvas/canvas-incremental-repaint-expected.png, which is wrong.

-- 
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