summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-02 17:40:33 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-02 17:40:33 +0100
commit4cf20df5887500aa59d413445d37b16e97a6e4fb (patch)
treed19a2905aab27079526f9ea86ec14ee3f8b32085 /src
parent509d61b3dc550f7cd724c0e0a7f981096f54568e (diff)
set style.display in StyleEngine
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;