diff options
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index bd5c60ed..accfbd7d 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -415,6 +415,8 @@ Style * StyleEngine::wordStyle0 (CssPropertyList *nonCssProperties) { if (stack->getRef (stack->size () - 1)->inheritBackgroundColor) attrs.backgroundColor = style ()->backgroundColor; + attrs.valign = style ()->valign; + stack->getRef (stack->size () - 1)->wordStyle = Style::create (layout, &attrs); return stack->getRef (stack->size () - 1)->wordStyle; } |