2006-12-05 Kirby White <KWhiteRight@gmail.com>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Dec 2006 10:23:25 +0000 (10:23 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Dec 2006 10:23:25 +0000 (10:23 +0000)
commit46ffc8fae61e6dc4981603f99a8224141cacabce
treee2077002a8d590f92ba28726710469fb60c4eca8
parent451d7ddbf7f0e3d466e86862d142446408f3fb51
2006-12-05  Kirby White  <KWhiteRight@gmail.com>

        Reviewed and landed by Alexey.

        http://bugs.webkit.org/show_bug.cgi?id=11681
        Don't select the first option when resetting a listbox-style form
        control (i.e., a multi-select control or one with size > 1) that
        has no default selection.

        Test: fast/dom/HTMLSelectElement/listbox-select-reset.html

        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::reset):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLSelectElement/listbox-select-reset-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLSelectElement/listbox-select-reset.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLSelectElement.cpp