Index: Source/core/rendering/RenderButton.cpp |
diff --git a/Source/core/rendering/RenderButton.cpp b/Source/core/rendering/RenderButton.cpp |
index 4a58833036388f69ba2117ec3f5f007b366bb000..9b16c4af8a02dfe80e543889cfd6df410bac9d38 100644 |
--- a/Source/core/rendering/RenderButton.cpp |
+++ b/Source/core/rendering/RenderButton.cpp |
@@ -97,6 +97,10 @@ void RenderButton::setupInnerStyle(RenderStyle* innerStyle) |
innerStyle->setMarginTop(Length()); |
innerStyle->setMarginBottom(Length()); |
innerStyle->setFlexDirection(style()->flexDirection()); |
+ innerStyle->setJustifyContent(style()->justifyContent()); |
+ innerStyle->setFlexWrap(style()->flexWrap()); |
+ innerStyle->setAlignItems(style()->alignItems()); |
+ innerStyle->setAlignContent(style()->alignContent()); |
} |
bool RenderButton::canHaveGeneratedChildren() const |