[webkit-changes] [WebKit/WebKit] 3ac4c9: [macOS] Add vector-based version of inner spin but...
Aditya Keerthi
noreply at github.com
Thu Feb 27 20:49:16 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3ac4c95e870e44bf4fcc9ac9f02395c371698370
https://github.com/WebKit/WebKit/commit/3ac4c95e870e44bf4fcc9ac9f02395c371698370
Author: Aditya Keerthi <akeerthi at apple.com>
Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths:
M Source/WebCore/html/shadow/TextControlInnerElements.cpp
M Source/WebCore/rendering/RenderTheme.cpp
M Source/WebCore/rendering/RenderTheme.h
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.h
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
Log Message:
-----------
[macOS] Add vector-based version of inner spin buttons
https://bugs.webkit.org/show_bug.cgi?id=288787
rdar://145804460
Reviewed by Abrar Rahman Protyasha and Tim Horton.
Add hooks to paint spin buttons, and stretch flex items in number inputs so that
they can take up all the available space (height).
* Source/WebCore/html/shadow/TextControlInnerElements.cpp:
(WebCore::isNumberInput):
(WebCore::TextControlInnerContainer::resolveCustomStyle):
* Source/WebCore/rendering/RenderTheme.cpp:
(WebCore::RenderTheme::paint):
* Source/WebCore/rendering/RenderTheme.h:
(WebCore::RenderTheme::paintInnerSpinButton):
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.h:
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::RenderThemeCocoa::paintInnerSpinButton):
Canonical link: https://commits.webkit.org/291294@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