[webkit-changes] [WebKit/WebKit] b6c00b: [iOS] Background for multi-file upload icon is dra...
Richard Robinson
noreply at github.com
Wed Oct 5 18:54:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b6c00b300dfe5f6f0c74db1f20fa20363caf7896
https://github.com/WebKit/WebKit/commit/b6c00b300dfe5f6f0c74db1f20fa20363caf7896
Author: Richard Robinson <richard_robinson2 at apple.com>
Date: 2022-10-05 (Wed, 05 Oct 2022)
Changed paths:
M Source/WebCore/rendering/RenderThemeIOS.mm
Log Message:
-----------
[iOS] Background for multi-file upload icon is drawn incorrectly
https://bugs.webkit.org/show_bug.cgi?id=246063
rdar://100784312
Reviewed by Tim Horton and Aditya Keerthi.
Currently, for file inputs with multiple selected files, iOS tries to draw
an icon that has a gradient colored background. However, the gradient isn't
actually drawn as a result of iOS using the GPU process.
This PR resolves that by replacing the gradient with a simple base color,
as the gradient no longer makes sense anyways since the button doesn’t have
one either.
* Source/WebCore/rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::paintFileUploadIconDecorations):
Canonical link: https://commits.webkit.org/255202@main
More information about the webkit-changes
mailing list