| Index: Source/core/html/HTMLOptionElement.cpp
|
| diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp
|
| index e44a404e358ef979b1aa4529fb4639728cf28fc6..6884d9aeb779bc02063eda83e3fa03bae3df75b4 100644
|
| --- a/Source/core/html/HTMLOptionElement.cpp
|
| +++ b/Source/core/html/HTMLOptionElement.cpp
|
| @@ -147,7 +147,7 @@ void HTMLOptionElement::setText(const String &text, ExceptionCode& ec)
|
| removeChildren();
|
| appendChild(Text::create(document(), text), ec, AttachLazily);
|
| }
|
| -
|
| +
|
| if (selectIsMenuList && select->selectedIndex() != oldSelectedIndex)
|
| select->setSelectedIndex(oldSelectedIndex);
|
| }
|
| @@ -289,7 +289,7 @@ String HTMLOptionElement::label() const
|
| {
|
| const AtomicString& label = fastGetAttribute(labelAttr);
|
| if (!label.isNull())
|
| - return label;
|
| + return label;
|
| return collectOptionInnerText().stripWhiteSpace(isHTMLSpace).simplifyWhiteSpace(isHTMLSpace);
|
| }
|
|
|
|
|