diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/render/layout.c b/render/layout.c index c676af789..0506c60d5 100644 --- a/render/layout.c +++ b/render/layout.c @@ -5050,6 +5050,10 @@ void layout_calculate_descendant_bboxes(struct box *box) return; } + if (box->flags & REPLACE_DIM) + /* Box's children aren't displayed if the box is replaced */ + return; + for (child = box->children; child; child = child->next) { if (child->type == BOX_FLOAT_LEFT || child->type == BOX_FLOAT_RIGHT) |