diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-06-21 06:50:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-21 06:50:09 -0700 |
commit | 7a80192a820848f5ac04b9f4ffe2e860476579ba (patch) | |
tree | ba1ff7ca35d183178052abe84f21702042388bd3 /components/script/mem.rs | |
parent | 7543acc257d91c2dbbf2d430e071dc71a3a0573c (diff) | |
parent | a34d8c7fa97791f469717f3d3a0917a48850b5c7 (diff) | |
download | servo-7a80192a820848f5ac04b9f4ffe2e860476579ba.tar.gz servo-7a80192a820848f5ac04b9f4ffe2e860476579ba.zip |
Auto merge of #17395 - pyfisch:issue17387, r=emilio
Make background gradient cover padding
CSS-gradients should not only cover the content of an
element but also the padding (but not the border).
<!-- Please describe your changes on the following line: -->
Thanks to @atouchet for catching this.
<!-- 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 #17387 (github issue number if applicable).
<!-- Either: -->
- [x] These changes do not require tests because gradients are hard to test automatically but you can use [this gist](https://gist.github.com/pyfisch/fa263c8dfc57e5812fe8a4869ad61513) as a manual test.
<!-- 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. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17395)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/mem.rs')
0 files changed, 0 insertions, 0 deletions