mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 00:21:15 +03:00
Don't resolve percentages on tables
This commit is contained in:
parent
4c824f7374
commit
b26d35cd96
@ -353,10 +353,9 @@ def block_container_layout(document, box, max_position_y, skip_stack,
|
||||
else:
|
||||
page_break = 'auto'
|
||||
|
||||
resolve_percentages(child, box)
|
||||
|
||||
if (child.is_in_normal_flow() and last_in_flow_child is None and
|
||||
collapsing_with_children):
|
||||
resolve_percentages(child, box)
|
||||
# TODO: add the adjoining descendants' margin top to
|
||||
# [child.margin_top]
|
||||
old_collapsed_margin = collapse_margin(adjoining_margins)
|
||||
|
Loading…
Reference in New Issue
Block a user