aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/styleengine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index bd00ec93..5472f3b6 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -411,6 +411,9 @@ void StyleEngine::apply (StyleAttrs *attrs, CssPropertyList *props) {
case CSS_PROPERTY_CURSOR:
attrs->cursor = (Cursor) p->value.intVal;
break;
+ case CSS_PROPERTY_DISPLAY:
+ attrs->display = (DisplayType) p->value.intVal;
+ break;
case CSS_PROPERTY_LIST_STYLE_TYPE:
attrs->listStyleType = (ListStyleType) p->value.intVal;
break;