diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-31 23:50:31 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-10-31 23:50:31 +0100 |
commit | a825ab63254077e8aff134ff7487dbef1ade2827 (patch) | |
tree | de5cf535a6b5e87205df368f1eb5f26730fc1c93 | |
parent | bef80608dea6e217b7014470b649bcfab0a9c0f4 (diff) |
fix text alignment
-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 e8b9cbe9..51027677 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -115,6 +115,9 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) { case CssProperty::CSS_PROPERTY_LIST_STYLE_TYPE: attrs->listStyleType = p->value.listStyleType; break; + case CssProperty::CSS_PROPERTY_TEXT_ALIGN: + attrs->textAlign = p->value.textAlignType; + break; case CssProperty::CSS_PROPERTY_TEXT_DECORATION: attrs->textDecoration |= p->value.textDecoration; break; |