| Index: Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp
|
| index 74f8627def91049db2f6f5c8ff788e38b50bd5f5..a3ed48f60f99b41981b5b6ac09372713a98c1584 100644
|
| --- a/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/Source/core/html/HTMLSelectElement.cpp
|
| @@ -695,7 +695,7 @@ void HTMLSelectElement::setRecalcListItems()
|
| // Manual selection anchor is reset when manipulating the select programmatically.
|
| m_activeSelectionAnchorIndex = -1;
|
| setOptionsChangedOnRenderer();
|
| - setNeedsStyleRecalc();
|
| + setNeedsStyleRecalc(SubtreeStyleChange);
|
| if (!inDocument()) {
|
| if (HTMLCollection* collection = cachedHTMLCollection(SelectOptions))
|
| collection->invalidateCache();
|
| @@ -1038,7 +1038,7 @@ void HTMLSelectElement::resetImpl()
|
| firstOption->setSelectedState(true);
|
|
|
| setOptionsChangedOnRenderer();
|
| - setNeedsStyleRecalc();
|
| + setNeedsStyleRecalc(SubtreeStyleChange);
|
| setNeedsValidityCheck();
|
| }
|
|
|
|
|