Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb53eb3c0066e97618a2b01593898a8ee18e7aee
https://github.com/WebKit/WebKit/commit/cb53eb3c0066e97618a2b01593898a8ee18e7aee
Author: Ahmad Saleem <[email protected]>
Date: 2026-06-29 (Mon, 29 Jun 2026)
Changed paths:
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
Log Message:
-----------
Concentric inner-button corner radius check ignores bottom inset for
horizontal text controls
https://bugs.webkit.org/show_bug.cgi?id=318072
rdar://180869927
Reviewed by Lily Spiniolas.
In the horizontal writing-mode branch of RenderThemeCocoa's concentric
corner-radius computation, canBeConcentric compared inlineDistance against
topDistance twice, never checking bottomDistance. A control whose inner
button had unequal top and bottom insets could therefore be incorrectly
treated as concentric.
Compare against bottomDistance for the second check.
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::cornerRadiusForConcentricTextBasedControl):
Canonical link: https://commits.webkit.org/316022@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications