| Index: Source/core/layout/LayoutMenuList.cpp
|
| diff --git a/Source/core/layout/LayoutMenuList.cpp b/Source/core/layout/LayoutMenuList.cpp
|
| index 47279f57d6c36dc043e73e05410770cf1f52c3a7..321dfd4ad687d44170890ebd5e58c32ed5a1e0b8 100644
|
| --- a/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/Source/core/layout/LayoutMenuList.cpp
|
| @@ -119,7 +119,7 @@ void LayoutMenuList::adjustInnerStyle()
|
|
|
| if (m_optionStyle) {
|
| if ((m_optionStyle->direction() != innerStyle.direction() || m_optionStyle->unicodeBidi() != innerStyle.unicodeBidi()))
|
| - m_innerBlock->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + m_innerBlock->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::StyleChange);
|
| innerStyle.setTextAlign(style()->isLeftToRightDirection() ? LEFT : RIGHT);
|
| innerStyle.setDirection(m_optionStyle->direction());
|
| innerStyle.setUnicodeBidi(m_optionStyle->unicodeBidi());
|
| @@ -197,7 +197,7 @@ void LayoutMenuList::updateOptionsWidth()
|
|
|
| m_optionsWidth = width;
|
| if (parent())
|
| - setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
|
| + setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReason::MenuWidthChanged);
|
| }
|
|
|
| void LayoutMenuList::updateFromElement()
|
|
|