Index: sky/engine/core/rendering/style/StyleBoxData.cpp |
diff --git a/sky/engine/core/rendering/style/StyleBoxData.cpp b/sky/engine/core/rendering/style/StyleBoxData.cpp |
index b38ea21c3f1eb03fadc7a07c3864f1592e6c3b37..53304482da0078ae6714ce5ffa0a7fe05f8ae2bc 100644 |
--- a/sky/engine/core/rendering/style/StyleBoxData.cpp |
+++ b/sky/engine/core/rendering/style/StyleBoxData.cpp |
@@ -41,7 +41,7 @@ StyleBoxData::StyleBoxData() |
, m_maxHeight(RenderStyle::initialMaxSize()) |
, m_zIndex(0) |
, m_hasAutoZIndex(true) |
- , m_boxSizing(CONTENT_BOX) |
+ , m_boxSizing(RenderStyle::initialBoxSizing()) |
, m_boxDecorationBreak(DSLICE) |
{ |
} |