aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2023-07-01 00:10:49 +0200
committerOriol Brufau <obrufau@igalia.com>2023-07-01 03:18:11 +0200
commit995d60760882514bd503f4f26c3db7f045db450c (patch)
tree2af2db7a93a1c87fabdd61d812f27875f0101049 /python/servo/command_base.py
parentfe5b494e3f7a977c34ad2ad8758d94c8be41bee1 (diff)
downloadservo-995d60760882514bd503f4f26c3db7f045db450c.tar.gz
servo-995d60760882514bd503f4f26c3db7f045db450c.zip
Resolve percentages in find_block_margin_collapsing_with_parent
Padding percentages weren't being resolved, this function would think that margins wouldn't collapse even if the percentage resolved to 0px. And margin percentages were always resolved to 0px. So now the function takes a ContainingBlock parameter that is used to resolve these percentages properly.
Diffstat (limited to 'python/servo/command_base.py')
0 files changed, 0 insertions, 0 deletions