mirror of
https://github.com/servo/servo.git
synced 2025-10-09 21:10:19 +01:00
Fix corner clipping typos in layout-2020 <!-- Please describe your changes on the following line: --> inner_radii() had a minus sign that shouldn't be there. And padding_edge_clip() and content_edge_clip() clearly need to to use the padding_rect() and content_rect() instead of border_rect. Tests: - css/css-backgrounds/background-clip-padding-box-with-border-radius.html - css/css-backgrounds/background-rounded-image-clip.html --- <!-- 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 - [X] These changes fix #29683 (GitHub issue number if applicable) <!-- Either: --> - [X] 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. --> |
||
---|---|---|
.. | ||
background.rs | ||
conversions.rs | ||
gradient.rs | ||
mod.rs | ||
stacking_context.rs |