diff options
author | bors-servo <infra@servo.org> | 2023-05-01 18:48:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 18:48:49 +0200 |
commit | c92ea9774f16c69c6e7ba769c9a1f0d27d2a4023 (patch) | |
tree | e2e98c723e77a2502238870bd3963de1a1518a96 /components/script/script_runtime.rs | |
parent | dd8ec05662aaea622bc307d1c13aeb09cc781a8b (diff) | |
parent | 678b590f80d09e0fb0bccaf88dc215adc1ca9238 (diff) | |
download | servo-c92ea9774f16c69c6e7ba769c9a1f0d27d2a4023.tar.gz servo-c92ea9774f16c69c6e7ba769c9a1f0d27d2a4023.zip |
Auto merge of #29686 - Loirooriol:normalize-border-radius, r=mrobinson
Normalize corner radii that add up to > 100%
WebRender already seems to be doing this normalization, but this is needed by inner_radii in order to properly compute the reduced radii when background-clip is content-box or padding-box.
This will also be needed for expanding the radii for box-shadow or outline.
Test: css/css-backgrounds/background-rounded-image-clip-002.html
<!-- Please describe your changes on the following line: -->
---
<!-- 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 #29685 (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. -->
Diffstat (limited to 'components/script/script_runtime.rs')
0 files changed, 0 insertions, 0 deletions