servo/components/style/values/generics
bors-servo 1cf87a243a Auto merge of #18376 - kuoe0:set-fallbacktype-to-none-when-the-fallback-color-of-context-property-is-none, r=xidorn
Support None and NotSet for the fallback type of SVGPaint.

<!-- Please describe your changes on the following line: -->

We didn't set None and NotSet for the fallback type of SVGPaint, and it caused the fallback color is wrong when fallback color is empty or keyword `none`. So, we add the None and NotSet support for it.

---
<!-- 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 [Bug 1380590](https://bugzilla.mozilla.org/show_bug.cgi?id=1380590)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because of the test cases already in Gecko.

<!-- 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/18376)
<!-- Reviewable:end -->
2017-09-05 21:43:02 -05:00
..
background.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
basic_shape.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
border.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
box.rs Use generics for the vertical-align property 2017-08-30 23:01:12 +02:00
counters.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
effects.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
flex.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
gecko.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
grid.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
image.rs Properly set default direction of prefixed linear gradients 2017-08-30 21:17:39 -07:00
mod.rs Implement Animate for FontSettings 2017-09-05 16:12:20 +09:00
position.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
rect.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
svg.rs Support None and NotSet for the fallback type of SVGPaint. 2017-09-05 13:06:09 +08:00
text.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
transform.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00