| Index: Source/core/layout/LayoutMenuList.cpp
|
| diff --git a/Source/core/layout/LayoutMenuList.cpp b/Source/core/layout/LayoutMenuList.cpp
|
| index 449c6bce9d36a0ef959bde30370794fe16d3d1ef..8dfcb21badb4961b7c378902e701b7c0cd9f3687 100644
|
| --- a/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/Source/core/layout/LayoutMenuList.cpp
|
| @@ -109,10 +109,10 @@ void LayoutMenuList::adjustInnerStyle()
|
| // Use margin:auto instead of align-items:center to get safe centering, i.e.
|
| // when the content overflows, treat it the same as align-items: flex-start.
|
| // But we only do that for the cases where html.css would otherwise use center.
|
| - if (style()->alignItems() == ItemPositionCenter) {
|
| + if (style()->alignItemsPosition() == ItemPositionCenter) {
|
| innerStyle.setMarginTop(Length());
|
| innerStyle.setMarginBottom(Length());
|
| - innerStyle.setAlignSelf(ItemPositionFlexStart);
|
| + innerStyle.setAlignSelfPosition(ItemPositionFlexStart);
|
| }
|
|
|
| innerStyle.setPaddingLeft(Length(LayoutTheme::theme().popupInternalPaddingLeft(styleRef()), Fixed));
|
|
|