diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-25 11:57:00 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-25 11:57:00 +0200 |
commit | 9bdbab27811d631db9c321380dea0842ec0af392 (patch) | |
tree | 52b0e39dbe51c0ebfd14209479959f2d99249cd6 /src/styleengine.cc | |
parent | 37507ce8b1188c040afca07390504cd162f5111f (diff) |
CSS attribute 'background-attachment' (not implemented in dw::core::style).
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 4 |
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); |