Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b6c00b300dfe5f6f0c74db1f20fa20363caf7896
      
https://github.com/WebKit/WebKit/commit/b6c00b300dfe5f6f0c74db1f20fa20363caf7896
  Author: Richard Robinson <richard_robins...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to