aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index 9a08c03a..e43d9171 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -167,6 +167,9 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) {
case CssProperty::CSS_PROPERTY_LIST_STYLE_TYPE:
attrs->listStyleType = (ListStyleType) p->value.intVal;
break;
+ case CssProperty::CSS_PROPERTY_MARGIN:
+ attrs->margin.setVal (p->value.intVal);
+ break;
case CssProperty::CSS_PROPERTY_PADDING:
attrs->padding.setVal (p->value.intVal);
break;