aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-09-25 11:57:00 +0200
committerSebastian Geerken <devnull@localhost>2013-09-25 11:57:00 +0200
commit9bdbab27811d631db9c321380dea0842ec0af392 (patch)
tree52b0e39dbe51c0ebfd14209479959f2d99249cd6 /src/styleengine.cc
parent37507ce8b1188c040afca07390504cd162f5111f (diff)
CSS attribute 'background-attachment' (not implemented in dw::core::style).
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);