diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-09 22:04:26 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-09 22:04:26 +0100 |
commit | d8a40e0d048f7ce6073be3fb92b621fc42b5d3f4 (patch) | |
tree | 1ea0e651b562138ac9425f0871b5ed37157756be | |
parent | 978b4c290aa78dc74a364d1cd5bcd4f0d0bd3631 (diff) |
support white-space property
-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 89ef8b83..797f0ca2 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -284,6 +284,9 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) { case CssProperty::CSS_PROPERTY_VERTICAL_ALIGN: attrs->valign = (VAlignType) p->value.intVal; break; + case CssProperty::CSS_PROPERTY_WHITE_SPACE: + attrs->whiteSpace = (WhiteSpace) p->value.intVal; + break; case CssProperty::CSS_PROPERTY_WIDTH: computeLength (&attrs->width, p->value.intVal, attrs->font); break; |