2011-05-19 Emil A Eklund <eae@chromium.org>
authorEmil A Eklund <eae@chromium.org>
Thu, 19 May 2011 09:21:58 +0000 (09:21 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 19 May 2011 20:23:17 +0000 (17:23 -0300)
commitf46a0689c3ce5b01db016d6c0815cf0dad87fe98
treef1dc9ad2e123186ed3d2779694bea8e3ec22ed7f
parentfb119b55264f87eec99c33ba96ecaa28f79dd431
2011-05-19  Emil A Eklund  <eae@chromium.org>

        Reviewed by Alexey Proskuryakov.

        REGRESSION (r80808): Multiple <select> - Selection reset to first element from multiple selected ones
        https://bugs.webkit.org/show_bug.cgi?id=60986

        * fast/dom/HTMLSelectElement/change-multiple-preserve-selection-expected.txt:
        * fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html:
2011-05-19  Emil A Eklund  <eae@chromium.org>

        Reviewed by Alexey Proskuryakov.

        REGRESSION (r80808): Multiple <select> - Selection reset to first element from multiple selected ones
        https://bugs.webkit.org/show_bug.cgi?id=60986

        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::setMultiple):
        Don't restore selection if the multiple attribute hasn't changed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLSelectElement/change-multiple-preserve-selection-expected.txt
LayoutTests/fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLSelectElement.cpp