aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-10-03 13:51:25 +0200
committerSebastian Geerken <devnull@localhost>2014-10-03 13:51:25 +0200
commit8fd2ae404f3f0af087217ba79ff9a35955fb026f (patch)
treebc42c1fbbb2224a52846d62111e5924ec788d0fc /src/styleengine.cc
parent59b3ae08f3fcd91c0792e2ea840d0072f1d73416 (diff)
parent5f1cf298395601f67afc9aff78e547d915663daf (diff)
Merge with main repo. (But something is not working yet.)
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 8a90751e..a660b175 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -653,6 +653,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props,
if (attrs->margin.top < 0) // \todo fix negative margins in dw/*
attrs->margin.top = 0;
break;
+ case CSS_PROPERTY_OVERFLOW:
+ attrs->overflow = (Overflow) p->value.intVal;
+ break;
case CSS_PROPERTY_PADDING_TOP:
computeValue (&attrs->padding.top, p->value.intVal, attrs->font);
break;