diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-03 12:49:03 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-03 12:49:03 +0200 |
commit | 4d154339cf13216d97a460cfbc6bfa7f3fac040e (patch) | |
tree | 2fc8fdeecb92574154c64420329c61664e7a70ab /src/styleengine.cc | |
parent | fa01703ead5b5c92badfd3f381314ebcb16d5c42 (diff) |
Added (not implemented) CSS attribute 'overflow'.
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 1c90b7b7..918e7460 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; |