aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-08-20 23:49:39 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2010-08-20 23:49:39 +0200
commit935fd13991fc9303e998e2678945beea6e36f8af (patch)
tree280bb5e81d1f8b23582b819cf9119f195514d34b /src/styleengine.cc
parent18a9c67a605ed5ee3ed94d293659c13489351efb (diff)
parse the CSS property float
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 906f47ee..b861e717 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -399,6 +399,9 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) {
case CSS_PROPERTY_DISPLAY:
attrs->display = (DisplayType) p->value.intVal;
break;
+ case CSS_PROPERTY_FLOAT:
+ attrs->vloat = (FloatType) p->value.intVal;
+ break;
case CSS_PROPERTY_LINE_HEIGHT:
if (p->type == CSS_TYPE_ENUM) { //only valid enum value is "normal"
attrs->lineHeight = dw::core::style::LENGTH_AUTO;