[webkit-changes] [WebKit/WebKit] c8e81a: [Cocoa] Fix position of AutoFill buttons in vertic...

Aditya Keerthi noreply at github.com
Sun Nov 12 14:07:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8e81acd7ac4111a9cb94c4c037b8bf9d7c82c47
      https://github.com/WebKit/WebKit/commit/c8e81acd7ac4111a9cb94c4c037b8bf9d7c82c47
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2023-11-12 (Sun, 12 Nov 2023)

  Changed paths:
    M Source/WebCore/css/html.css
    M Source/WebCore/html/HTMLInputElement.cpp

  Log Message:
  -----------
  [Cocoa] Fix position of AutoFill buttons in vertical writing mode
https://bugs.webkit.org/show_bug.cgi?id=264691
rdar://118265730

Reviewed by Tim Nguyen.

Use logical properties to ensure correct positioning in vertical writing mode.

* Source/WebCore/css/html.css:
(input::-webkit-strong-password-auto-fill-button):
(input::-webkit-credentials-auto-fill-button):
(input::-webkit-contacts-auto-fill-button):
(input::-webkit-credit-card-auto-fill-button):
(input::-webkit-loading-auto-fill-button):
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::createInnerTextStyle):

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




More information about the webkit-changes mailing list