diff options
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 92fe8179..a4d5003a 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -465,10 +465,13 @@ Style * StyleEngine::style0 (CssPropertyList *nonCssProperties) { // reset values that are not inherited according to CSS attrs.resetValues (); - if (stack->getRef (stack->size () - 2)->inheritBackgroundColor) + if (stack->getRef (stack->size () - 2)->inheritBackgroundColor) { attrs.backgroundColor = stack->getRef (stack->size () - 2)->style->backgroundColor; + attrs.valign = stack->getRef (stack->size () - 2)->style->valign; + } + // parse style information from style="" attribute, if it exists if (styleAttribute && prefs.parse_embedded_css) styleAttributeProps = |