Navigation Menu

Skip to content

Commit

Permalink
Avoid not in flow children to compute box height
Browse files Browse the repository at this point in the history
  • Loading branch information
grewn0uille committed Sep 10, 2019
1 parent 03edd01 commit 48d8632
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weasyprint/layout/columns.py
Expand Up @@ -187,7 +187,8 @@ def create_column_box(children):
next_box, _, _, _, _ = block_box_layout(
context, column_box, box.content_box_y(),
column_skip_stack, containing_block, True, [], [], [])
next_box_size = next_box.children[0].margin_height()
assert next_box.children[-1].is_in_normal_flow()
next_box_size = next_box.children[-1].margin_height()
else:
empty_space = next_box_size = 0

Expand Down

0 comments on commit 48d8632

Please sign in to comment.