Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9e646aebfee7892e256aac4802e2ddbc4a713627
https://github.com/WebKit/WebKit/commit/9e646aebfee7892e256aac4802e2ddbc4a713627
Author: Tim Horton <[email protected]>
Date: 2026-08-17 (Mon, 17 Aug 2026)
Changed paths:
A
LayoutTests/fast/forms/ios/select-multiple-button-text-updates-expected.txt
A LayoutTests/fast/forms/ios/select-multiple-button-text-updates.html
M Source/WebCore/html/HTMLSelectElement.cpp
Log Message:
-----------
REGRESSION (306560@main?): <select multiple> on iOS does not update the
button text when the selection is changed
https://bugs.webkit.org/show_bug.cgi?id=321964
rdar://185150121
Reviewed by Aditya Keerthi, Abrar Rahman Protyasha, and Wenson Hsieh.
Test: fast/forms/ios/select-multiple-button-text-updates.html
* LayoutTests/fast/forms/ios/select-multiple-button-text-updates-expected.txt:
Added.
* LayoutTests/fast/forms/ios/select-multiple-button-text-updates.html: Added.
* Source/WebCore/html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::updateListBoxSelection):
Invalidate the button text when the selection changes; this path is used by the
iOS picker and needs to update the button text, or it gets stuck with "0 items".
Canonical link: https://commits.webkit.org/319325@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications