diff options
Diffstat (limited to 'render/box.c')
-rw-r--r-- | render/box.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c index 015af7411..579a0de65 100644 --- a/render/box.c +++ b/render/box.c @@ -304,11 +304,12 @@ struct box * convert_xml_to_box(xmlNode * n, struct content *content, assert(n != 0 && parent_style != 0 && parent != 0); LOG(("node %p, node type %i", n, n->type)); - gui_multitask(); if (n->type == XML_ELEMENT_NODE) { struct element_entry *element; + gui_multitask(); + style = box_get_style(content->data.html.stylesheet_content, content->data.html.stylesheet_count, parent_style, n); LOG(("display: %s", css_display_name[style->display])); |