| Index: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| index 9c1fa47caf6b96b3b1b6922e8a4e3da477f330fb..0c46c5a84fb52f507ce7b5e4c013cf3bace05422 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| @@ -330,11 +330,6 @@ void HTMLSelectElement::parseAttribute(const QualifiedName& name,
|
| } else if (name == accesskeyAttr) {
|
| // FIXME: ignore for the moment.
|
| //
|
| - } else if (name == disabledAttr) {
|
| - HTMLFormControlElementWithState::parseAttribute(name, oldValue, value);
|
| - if (popupIsVisible())
|
| - hidePopup();
|
| -
|
| } else {
|
| HTMLFormControlElementWithState::parseAttribute(name, oldValue, value);
|
| }
|
| @@ -1078,6 +1073,8 @@ void HTMLSelectElement::dispatchBlurEvent(
|
| if (usesMenuList())
|
| dispatchInputAndChangeEventForMenuList();
|
| m_lastOnChangeSelection.clear();
|
| + if (popupIsVisible())
|
| + hidePopup();
|
| HTMLFormControlElementWithState::dispatchBlurEvent(newFocusedElement, type,
|
| sourceCapabilities);
|
| }
|
| @@ -1376,11 +1373,6 @@ void HTMLSelectElement::menuListDefaultEventHandler(Event* event) {
|
| }
|
| event->setDefaultHandled();
|
| }
|
| -
|
| - if (event->type() == EventTypeNames::blur) {
|
| - if (popupIsVisible())
|
| - hidePopup();
|
| - }
|
| }
|
|
|
| void HTMLSelectElement::updateSelectedState(HTMLOptionElement* clickedOption,
|
|
|