[iOS] iPhone should not allow selecting <optgroup> in <select multiple>
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Oct 2014 19:05:32 +0000 (19:05 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Oct 2014 19:05:32 +0000 (19:05 +0000)
commit5b4866028d2aefa076994a2dd6ef2e9ac901c484
tree67e7dd3a77d4662d5ddcf31bae9fa7c28cf07ebe
parent26be51d11dcd1bbc929140d08b9025bb2b919259
[iOS] iPhone should not allow selecting <optgroup> in <select multiple>
https://bugs.webkit.org/show_bug.cgi?id=137991

Reviewed by Darin Adler.

We seem to be getting the delegate when we are not supposed to.
Workaround the issue as best we can by reseting the styles
for the group's content view and not changing selections.

* UIProcess/ios/forms/WKFormSelectPicker.mm:
(-[WKMultipleSelectPicker pickerView:row:column:checked:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@175266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/ios/forms/WKFormSelectPicker.mm