diff options
author | bors-servo <infra@servo.org> | 2023-07-01 15:27:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 15:27:28 +0200 |
commit | 82b37df3be757cb2c7d1fc58f5e628941d3926e5 (patch) | |
tree | 031d78f505af67b77dfe6d984ca64fce4ff6a9ef /third_party/webrender/debugger/src/components/PassViewPage.vue | |
parent | f034eb60323c1501ba00e86cb7c2de243f41b56c (diff) | |
parent | 995d60760882514bd503f4f26c3db7f045db450c (diff) | |
download | servo-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 'third_party/webrender/debugger/src/components/PassViewPage.vue')
0 files changed, 0 insertions, 0 deletions