aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-07-01 15:27:28 +0200
committerGitHub <noreply@github.com>2023-07-01 15:27:28 +0200
commit82b37df3be757cb2c7d1fc58f5e628941d3926e5 (patch)
tree031d78f505af67b77dfe6d984ca64fce4ff6a9ef /python/servo/command_base.py
parentf034eb60323c1501ba00e86cb7c2de243f41b56c (diff)
parent995d60760882514bd503f4f26c3db7f045db450c (diff)
downloadservo-82b37df3be757cb2c7d1fc58f5e628941d3926e5.tar.gz
servo-82b37df3be757cb2c7d1fc58f5e628941d3926e5.zip
Auto merge of #29952 - Loirooriol:resolve-percentages, r=mrobinson
Resolve percentages in find_block_margin_collapsing_with_parent <!-- Please describe your changes on the following line: --> 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. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'python/servo/command_base.py')
0 files changed, 0 insertions, 0 deletions