Index: third_party/WebKit/Source/core/layout/LayoutButton.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutButton.cpp b/third_party/WebKit/Source/core/layout/LayoutButton.cpp |
index ab90e891c6fab34fe7215f8654920e8a1a4e1699..5eeeeb81cddd5dbf54a8cbb32b111a0f6a22241c 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutButton.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutButton.cpp |
@@ -76,6 +76,7 @@ void LayoutButton::updateAnonymousChildStyle(const LayoutObject& child, Computed |
childStyle.setFlexDirection(style()->flexDirection()); |
childStyle.setJustifyContent(style()->justifyContent()); |
childStyle.setFlexWrap(style()->flexWrap()); |
+ // TODO (lajava): An anonymous box must not be used to resolve children's auto values. |
childStyle.setAlignItems(style()->alignItems()); |
childStyle.setAlignContent(style()->alignContent()); |
} |