mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 08:27:22 +03:00
parent
382e07dc6d
commit
26109b25a3
@ -189,8 +189,10 @@ def columns_layout(context, box, max_position_y, skip_stack, containing_block,
|
||||
yield box
|
||||
if hasattr(box, 'descendants') and box.is_in_normal_flow():
|
||||
for child in box.children:
|
||||
for grand_child in column_descendants(child):
|
||||
yield grand_child
|
||||
if child.is_in_normal_flow():
|
||||
yield child
|
||||
for grand_child in column_descendants(child):
|
||||
yield grand_child
|
||||
|
||||
# Balance.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user