mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 08:27:22 +03:00
Again!
This commit is contained in:
parent
b26d35cd96
commit
2f68f0f519
@ -353,9 +353,11 @@ def block_container_layout(document, box, max_position_y, skip_stack,
|
|||||||
else:
|
else:
|
||||||
page_break = 'auto'
|
page_break = 'auto'
|
||||||
|
|
||||||
|
if not box.is_table_wrapper:
|
||||||
|
resolve_percentages(child, box)
|
||||||
|
|
||||||
if (child.is_in_normal_flow() and last_in_flow_child is None and
|
if (child.is_in_normal_flow() and last_in_flow_child is None and
|
||||||
collapsing_with_children):
|
collapsing_with_children):
|
||||||
resolve_percentages(child, box)
|
|
||||||
# TODO: add the adjoining descendants' margin top to
|
# TODO: add the adjoining descendants' margin top to
|
||||||
# [child.margin_top]
|
# [child.margin_top]
|
||||||
old_collapsed_margin = collapse_margin(adjoining_margins)
|
old_collapsed_margin = collapse_margin(adjoining_margins)
|
||||||
|
Loading…
Reference in New Issue
Block a user