| Index: Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp
|
| index 3d6008f59fb17047e01b10a2f9a1d833350ff29d..883df3c2263d17e6b85a3e8aa1ff34970d4be5f5 100644
|
| --- a/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/Source/core/html/HTMLSelectElement.cpp
|
| @@ -902,6 +902,8 @@ void HTMLSelectElement::selectOption(int optionIndex, SelectOptionFlags flags)
|
|
|
| scrollToSelection();
|
|
|
| + setNeedsValidityCheck();
|
| +
|
| if (usesMenuList()) {
|
| m_isProcessingUserDrivenChange = flags & UserDriven;
|
| if (flags & DispatchInputAndChangeEvent)
|
| @@ -914,7 +916,6 @@ void HTMLSelectElement::selectOption(int optionIndex, SelectOptionFlags flags)
|
| }
|
| }
|
|
|
| - setNeedsValidityCheck();
|
| notifyFormStateChanged();
|
| }
|
|
|
|
|