aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r--src/styleengine.cc3
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;