diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-13 18:50:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 18:50:30 -0800 |
commit | cd1d5f1cf359051eb76aa81ec3de48b84b0dab81 (patch) | |
tree | 1d7556806638838dcac47d054662f1b36a47b326 /components/net/image_cache_thread.rs | |
parent | 75c869d508231a216413808d80d6e02dec3ced6c (diff) | |
parent | 64ecb33e17e8c04632e60351657314d261ec54f8 (diff) | |
download | servo-cd1d5f1cf359051eb76aa81ec3de48b84b0dab81.tar.gz servo-cd1d5f1cf359051eb76aa81ec3de48b84b0dab81.zip |
Auto merge of #14359 - shinglyu:dropshadow-refactor, r=Manishearth
Reuse box-shadow code for drop-shadow filter
<!-- Please describe your changes on the following line: -->
Followup for #14218. Extracted the `Shadow` struct and methods into `values::*`, and make `box-shadow` and `drop-shadow` share the new `Shadow` type. The `ToCss` trait is not reused because they behave different in the two properties.
---
<!-- 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 #14219 (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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/14359)
<!-- Reviewable:end -->
Diffstat (limited to 'components/net/image_cache_thread.rs')
0 files changed, 0 insertions, 0 deletions