aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-09 22:04:26 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-12-09 22:04:26 +0100
commitd8a40e0d048f7ce6073be3fb92b621fc42b5d3f4 (patch)
tree1ea0e651b562138ac9425f0871b5ed37157756be /src/styleengine.cc
parent978b4c290aa78dc74a364d1cd5bcd4f0d0bd3631 (diff)
support white-space property
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 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;