[Webkit-unassigned] [Bug 65906] New: In RenderBox::paintBoxDecorations, there is bug in cairo-port because newly added endTransparencyLayer code.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 9 03:44:56 PDT 2011


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

           Summary: In RenderBox::paintBoxDecorations, there is bug in
                    cairo-port because newly added endTransparencyLayer
                    code.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ktf.kim at samsung.com
                CC: simon.fraser at apple.com


In RenderBox::paintBoxDecorations in WebCore/rendering/RenderBox.cpp, there are newly added code to avoid the background color bleeding out behind the border.

In there, the beginTransparencyLayer/endTransparencyLayer are used for clipping the background and border.

But in cairo port, when drawing box with minus position, an error is occured during cairo_paint_with_alpha in endTransparencyLayer.

I think TransparencyLayer is for combining to apply alpha for two or more objects, not for combining to apply clip.

I think not using beginTransparencyLayer/endTransparencyLayer in there can do the same thing more efficiently.

If there is some reasons for using beginTransparencyLayer/endTransparencyLayer except for the clipping, please let me know.

Thank you.

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