[webkit-changes] [WebKit/WebKit] 9055c8: Fix <input type=file> painting in sideways-lr writ...

Tim Nguyen noreply at github.com
Tue Jan 7 15:55:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9055c855d8be2d1fde1a7b9dcb15bb0dbf29e990
      https://github.com/WebKit/WebKit/commit/9055c855d8be2d1fde1a7b9dcb15bb0dbf29e990
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/file-input-computed-style-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/file-input-computed-style.html
    M Source/WebCore/rendering/RenderFileUploadControl.cpp

  Log Message:
  -----------
  Fix <input type=file> painting in sideways-lr writing mode
https://bugs.webkit.org/show_bug.cgi?id=285545
rdar://142491598

Reviewed by Alan Baradlay.

Perform the necessary translations to position the text and icon properly when painting `<input type=file>`.

* LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/file-input-computed-style-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/file-input-computed-style.html:
* Source/WebCore/rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintControl):

Canonical link: https://commits.webkit.org/288569@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list