[webkit-changes] [WebKit/WebKit] 30625a: [iOS] Fix appearance of date inputs in vertical wr...

Aditya Keerthi noreply at github.com
Fri Nov 10 17:42:19 PST 2023


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

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/date-input-appearance-native-computed-style-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/date-input-appearance-native-computed-style.html
    M Source/WebCore/css/html.css
    M Source/WebCore/rendering/RenderThemeIOS.mm

  Log Message:
  -----------
  [iOS] Fix appearance of date inputs in vertical writing mode
https://bugs.webkit.org/show_bug.cgi?id=264617
rdar://118248730

Reviewed by Megan Gardner.

Use logical properties to ensure the `inline-size` is greater than the
`block-size` by default.

* LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/date-input-appearance-native-computed-style-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/date-input-appearance-native-computed-style.html: Added.
* Source/WebCore/css/html.css:
(input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"], [type="week"])):
* Source/WebCore/rendering/RenderThemeIOS.mm:
(WebCore::adjustInputElementButtonStyle):

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




More information about the webkit-changes mailing list