Index: sky/engine/core/rendering/style/RenderStyle.h |
diff --git a/sky/engine/core/rendering/style/RenderStyle.h b/sky/engine/core/rendering/style/RenderStyle.h |
index 96f16f2ec40ff09d76a3172f252466536d2df99c..2c6c3621dfa354f8a21521286a592a25ac415766 100644 |
--- a/sky/engine/core/rendering/style/RenderStyle.h |
+++ b/sky/engine/core/rendering/style/RenderStyle.h |
@@ -1162,7 +1162,7 @@ public: |
static float initialBoxFlex() { return 0.0f; } |
static unsigned initialBoxFlexGroup() { return 1; } |
static unsigned initialBoxOrdinalGroup() { return 1; } |
- static EBoxSizing initialBoxSizing() { return BORDER_BOX; } |
+ static EBoxSizing initialBoxSizing() { return CONTENT_BOX; } |
static float initialFlexGrow() { return 0; } |
static float initialFlexShrink() { return 1; } |
static Length initialFlexBasis() { return Length(Auto); } |