Fix crash by <select> type change on focus
https://bugs.webkit.org/show_bug.cgi?id=108830

Reviewed by Abhishek Arya.

Source/WebCore:

Test: fast/forms/select/select-change-type-on-focus.html

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::menuListDefaultEventHandler):
focus() calls may change the renderer type.

LayoutTests:

* fast/forms/select/select-change-type-on-focus-expected.txt: Added.
* fast/forms/select/select-change-type-on-focus.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141858 268f45cc-cd09-0410-ab3c-d52691b4dbfc