aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 2cdb6e2c..6b35e33c 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -445,6 +445,10 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props,
switch (p->name) {
/* \todo missing cases */
+ case CSS_PROPERTY_BACKGROUND_ATTACHMENT:
+ attrs->backgroundAttachment =
+ (BackgroundAttachment) p->value.intVal;
+ break;
case CSS_PROPERTY_BACKGROUND_COLOR:
if (prefs.allow_white_bg || p->value.intVal != 0xffffff)
attrs->backgroundColor = Color::create(layout, p->value.intVal);