summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 025781ce5..bfaf104b9 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -174,7 +174,6 @@ bool xml_to_box(xmlNode *n, struct content *c)
root.parent = NULL;
root.float_children = NULL;
root.next_float = NULL;
- root.absolute_children = NULL;
c->data.html.style = talloc_memdup(c, &css_base_style,
sizeof css_base_style);
@@ -415,18 +414,6 @@ bool box_construct_element(xmlNode *n, struct content *content,
containing_block_c,
href, target, title))
return false;
- } else if ((style->position == CSS_POSITION_ABSOLUTE ||
- style->position == CSS_POSITION_FIXED) &&
- containing_block) {
- /* absolutely positioned */
- box_add_absolute_child(containing_block, box);
- inline_container_c = 0;
- for (c = n->children; convert_children && c; c = c->next)
- if (!convert_xml_to_box(c, content, style, box,
- &inline_container_c,
- containing_block_c,
- href, target, title))
- return false;
} else {
if (style->float_ == CSS_FLOAT_LEFT ||
style->float_ == CSS_FLOAT_RIGHT) {