-
adele authored
Reviewed by Geoff. Testcase for http://bugzilla.opendarwin.org/show_bug.cgi?id=8455 * fast/forms/select-reset.html: Added. WebCore: Reviewed by Geoff. Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8455 selectedIndex for a select after a Form reset() has wrong value Make sure the list items are reset properly by selecting the first option in case no options have the selected attribute set. * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::reset): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a9a86b91