Index: sky/engine/core/rendering/style/FillLayer.h |
diff --git a/sky/engine/core/rendering/style/FillLayer.h b/sky/engine/core/rendering/style/FillLayer.h |
index 7ec90030586cab4619cff24fdbbb4ceda4b63e49..a59fbdd952da275bc9786bf618b5f0d70b735579 100644 |
--- a/sky/engine/core/rendering/style/FillLayer.h |
+++ b/sky/engine/core/rendering/style/FillLayer.h |
@@ -180,7 +180,7 @@ public: |
void fillUnsetProperties(); |
void cullEmptyLayers(); |
- static EFillAttachment initialFillAttachment(EFillLayerType) { return ScrollBackgroundAttachment; } |
+ static EFillAttachment initialFillAttachment(EFillLayerType) { return LocalBackgroundAttachment; } |
static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; } |
static EFillBox initialFillOrigin(EFillLayerType type) { return type == BackgroundFillLayer ? PaddingFillBox : BorderFillBox; } |
static EFillRepeat initialFillRepeatX(EFillLayerType) { return NoRepeatFill; } |