Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 29e6f4d3eec462798020e2f1a96b071455b96133 https://github.com/WebKit/WebKit/commit/29e6f4d3eec462798020e2f1a96b071455b96133 Author: Lily Spiniolas <lily_spinio...@apple.com> Date: 2025-08-23 (Sat, 23 Aug 2025)
Changed paths: A LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-dark-mode-expected.html A LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-dark-mode.html A LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-light-mode-expected.html A LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-light-mode.html A LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-dark-mode-expected.html A LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-dark-mode.html A LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-light-mode-expected.html A LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-light-mode.html A LayoutTests/fast/forms/form-control-refresh/resources/autofill-test.js M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm Log Message: ----------- [Form Control Refresh] Background color for native text inputs does not change when autofilled https://bugs.webkit.org/show_bug.cgi?id=297642 rdar://158720549 Reviewed by Aditya Keerthi. During textarea/textfield painting, use the background color of the renderer's style so that the autofill background color applies. Added tests fast/forms/form-control-refresh/autofilled-and-obscured-text-input.html and fast/forms/form-control-refresh/autofilled-text-input.html to ensure the correct background and text colors are used for native text inputs when autofilled, and when autofilled + obscured. * LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-dark-mode-expected.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-dark-mode.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-light-mode-expected.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-and-obscured-text-input-light-mode.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-dark-mode-expected.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-dark-mode.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-light-mode-expected.html: Added. * LayoutTests/fast/forms/form-control-refresh/autofilled-text-input-light-mode.html: Added. * LayoutTests/fast/forms/form-control-refresh/resources/autofill-test.js: Added. (test.hideElementBorders): (test): * Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm: (WebCore::paintTextAreaOrTextField): Canonical link: https://commits.webkit.org/299088@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes