RESOLVED FIXED 250798
REGRESSION(258644@main): The <select> control looks dark when zooming in
https://bugs.webkit.org/show_bug.cgi?id=250798
Summary REGRESSION(258644@main): The <select> control looks dark when zooming in
Said Abou-Hallawa
Reported 2023-01-18 15:20:46 PST
Calling getRoundedBorderFor() was dropped in 258644@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.
Attachments
Said Abou-Hallawa
Comment 1 2023-01-18 15:21:27 PST
Said Abou-Hallawa
Comment 2 2023-01-18 15:35:44 PST
EWS
Comment 3 2023-01-24 18:10:44 PST
Committed 259325@main (b6af447cab8c): <https://commits.webkit.org/259325@main> Reviewed commits have been landed. Closing PR #8799 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.