diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-08 19:49:38 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-08 19:49:38 +0100 |
commit | 3d95b2e9644e53ce204c4c19c1e955336611a6ca (patch) | |
tree | 6184c8f0774cf0db382ba7d65ae5bfae2d341cf8 /src/styleengine.cc | |
parent | 3a2397716e7e0880e78b8630f801727fe371d878 (diff) | |
parent | 4e417d3988cff4143da06f438fcd39cb228ed1f9 (diff) |
merge
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 = |