[Webkit-unassigned] [Bug 250798] New: REGRESSION(258644 at main): The left and right gradients of MenuListButton are not clipped to the border rect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 15:20:46 PST 2023


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

            Bug ID: 250798
           Summary: REGRESSION(258644 at main): The left and right gradients
                    of MenuListButton are not clipped to the border rect
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Calling getRoundedBorderFor() was dropped in 258644 at main when refactoring the MenuListButton drawing to go through GraphicsContext. This caused the left and right border gradients to be not clipped. And this made the background of the control part to be filled with the border gradient which is dark gray.

Because we do not have access to the RenderStyle in platform/graphics, we have to calculate getRoundedBorderFor() the control part rect in RenderTheme::paint() and pass it all the way to GraphicsContext and to DisplayList recorder.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230118/af33fa1c/attachment-0001.htm>


More information about the webkit-unassigned mailing list