Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION (iOS 16): <optgroup> labels are duplicated
https://bugs.webkit.org/show_bug.cgi?id=247443 rdar://101241715 Reviewed by Wenson Hsieh. WebKit displays <optgroup> elements as inline submenus. Prior to iOS 16, UIKit did not display titles for inline submenus. Consequently, WebKit inserted a disabled menu item at the top of each submenu, containing the <optgroup>'s label. However, UIKit began displaying titles for submenus in iOS 16, resulting in duplicate labels. To fix, remove the labels added by WebKit. * Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm: (-[WKSelectPicker createMenu]): (-[WKSelectPicker actionForOptionIndex:]): Canonical link: https://commits.webkit.org/256324@main
- Loading branch information