diff options
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c index ac6339757..b541517eb 100644 --- a/render/layout.c +++ b/render/layout.c @@ -696,11 +696,11 @@ void layout_minmax_block(struct box *block, wtype != CSS_WIDTH_SET) { /* box shrinks to fit; need minimum width */ block->flags |= NEED_MIN; - } else if (block->type == BOX_TABLE_CELL) { + } else if (block->type == BOX_TABLE_CELL) { /* box shrinks to fit; need minimum width */ block->flags |= NEED_MIN; } else if (block->parent && (block->parent->flags & NEED_MIN) && - wtype != CSS_WIDTH_SET) { + wtype != CSS_WIDTH_SET) { /* box inside shrink-to-fit context; need minimum width */ block->flags |= NEED_MIN; } |