summaryrefslogtreecommitdiff
path: root/src/styleengine.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-08-21 13:44:00 +0200
committerSebastian Geerken <devnull@localhost>2013-08-21 13:44:00 +0200
commit1eadbc7adf57405730f8b5efbb4c4c8b19d2f1d6 (patch)
tree2bab24cc907b7046ac1726cf09c6fc2f3f7fbd82 /src/styleengine.cc
parent1b9c7e87a56398814be78adea71e935f8a75b3cd (diff)
"clear" attribute, mostly.
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 890f6bcb..7a76d18a 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -498,6 +498,9 @@ void StyleEngine::apply (int i, StyleAttrs *attrs, CssPropertyList *props) {
case CSS_PROPERTY_BOTTOM:
computeLength (&attrs->bottom, p->value.intVal, attrs->font);
break;
+ case CSS_PROPERTY_CLEAR:
+ attrs->clear = (ClearType) p->value.intVal;
+ break;
case CSS_PROPERTY_COLOR:
attrs->color = Color::create (layout, p->value.intVal);
break;