Don't select the next selectable index when deselecting an option in select elements with size set to a value greater than one.
https://bugs.webkit.org/show_bug.cgi?id=76389
Patch by Pablo Flouret <pablof@motorola.com> on 2012-01-30
Reviewed by Kent Tamura.
This behavior matches the rest of the browsers.
Source/WebCore:
Test: fast/forms/select/option-selecting.html
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::optionSelectionStateChanged):
LayoutTests:
* fast/forms/select/option-selecting-expected.txt: Added.
* fast/forms/select/option-selecting.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106318
268f45cc-cd09-0410-ab3c-
d52691b4dbfc