changeset 663:fbeaa9990ff3

support white-space property
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 09 Dec 2008 22:04:26 +0100
parents ef5fd9b44910
children 109eaf60aea2
files src/styleengine.cc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/styleengine.cc	Tue Dec 09 22:04:12 2008 +0100
+++ b/src/styleengine.cc	Tue Dec 09 22:04:26 2008 +0100
@@ -284,6 +284,9 @@
          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;