summaryrefslogtreecommitdiff
path: root/render/box_normalise.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_normalise.c')
-rw-r--r--render/box_normalise.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/render/box_normalise.c b/render/box_normalise.c
index 2df859025..757ba4bb6 100644
--- a/render/box_normalise.c
+++ b/render/box_normalise.c
@@ -542,6 +542,12 @@ bool box_normalise_table_row(struct box *row,
if (!style)
return false;
css_cascade(style, &css_blank_style, NULL);
+ if (child->style && (child->style->position ==
+ CSS_POSITION_ABSOLUTE ||
+ child->style->position ==
+ CSS_POSITION_FIXED)) {
+ style->position = child->style->position;
+ }
cell = box_create(style, row->href, row->target, 0, 0,
c);
if (!cell) {