servo/components/style
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
..
counter_style Replace some more uses of write! in components/style 2017-09-04 19:01:43 +02:00
gecko Auto merge of #18373 - canaltinova:font-feature-vals, r=xidorn 2017-09-05 18:35:55 -05:00
gecko_bindings Mark the CoordData traits as unsafe 2017-08-28 22:28:20 -07:00
gecko_string_cache Harden assert for creating atom from raw pointer. 2017-08-30 12:36:45 +10:00
invalidation Auto merge of #18271 - legnaleurc:propagate_dirty_bits, r=emilio 2017-09-05 14:18:52 -05:00
properties Auto merge of #18376 - kuoe0:set-fallbacktype-to-none-when-the-fallback-color-of-context-property-is-none, r=xidorn 2017-09-05 21:43:02 -05:00
rule_tree Measure the stylist during memory reporting. 2017-09-05 19:43:50 +02:00
servo Replace some more uses of write! in components/style 2017-09-04 19:01:43 +02:00
sharing Don't cache style data if the element has running animations. 2017-08-23 09:51:27 +09:00
stylesheets Auto merge of #18373 - canaltinova:font-feature-vals, r=xidorn 2017-09-05 18:35:55 -05:00
values Auto merge of #18376 - kuoe0:set-fallbacktype-to-none-when-the-fallback-color-of-context-property-is-none, r=xidorn 2017-09-05 21:43:02 -05:00
animation.rs style: Remove CascadeInfo. 2017-08-28 14:40:47 +02:00
applicable_declarations.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
attr.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
bezier.rs Don't use Point2D<f32> for cubic curves anymore 2017-07-19 10:19:41 +02:00
bloom.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
build.rs use cargo manifest path to find build.py script 2017-09-05 09:31:37 +02:00
build_gecko.rs Better bindgen error message when files are missing. 2017-07-07 22:49:45 -07:00
cache.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
Cargo.toml Auto merge of #18336 - upsuper:two-stage-at-rule, r=SimonSapin 2017-09-01 17:56:57 -05:00
context.rs Fix up stack limit sanity assertions. 2017-08-25 18:39:25 -07:00
custom_properties.rs Tidy fixes 2017-09-01 09:53:18 -07:00
data.rs Propagate dirty bits after invalidation if needed. 2017-09-04 18:21:01 +08:00
dom.rs stylo: Replace all hashtable collections with ones from style::hash 2017-08-31 16:28:30 -07:00
driver.rs style: Avoid unnecessarily using Borrow. 2017-09-04 13:23:56 +02:00
element_state.rs Bug 1348489 - stylo: Implement :-moz-window-inactive. 2017-06-30 09:31:01 -07:00
encoding_support.rs Use cssparser's new_with_line_number_offset 2017-08-28 12:49:30 -06:00
error_reporting.rs Remove uses of format! in components/style/error_reporting.rs 2017-09-02 10:15:36 +02:00
font_face.rs Parse at-rule without block in two stages 2017-09-01 16:21:22 +10:00
font_metrics.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
hash.rs stylo: Add hash module for reexporting HashMap 2017-08-31 16:28:27 -07:00
lib.rs stylo: Add hash module for reexporting HashMap 2017-08-31 16:28:27 -07:00
logical_geometry.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
macros.rs Replace some more uses of write! in components/style 2017-09-04 19:01:43 +02:00
matching.rs style: Only store applicable ::before / ::after pseudo styles during the traversal. 2017-08-25 08:46:22 +02:00
media_queries.rs Replace some more uses of write! in components/style 2017-09-04 19:01:43 +02:00
parallel.rs Fix up stack limit sanity assertions. 2017-08-25 18:39:25 -07:00
parser.rs Use cssparser's new_with_line_number_offset 2017-08-28 12:49:30 -06:00
README.md
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Measure the stylist during memory reporting. 2017-09-05 19:43:50 +02:00
selector_parser.rs Measure the stylist during memory reporting. 2017-09-05 19:43:50 +02:00
shared_lock.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
str.rs Rework MediaType to be an atom-based struct instead of an enum. 2017-08-09 13:25:30 -07:00
style_adjuster.rs geckolib: Fix some warnings (treated as error) new in Rust Nigthly 2017-08-17 15:59:33 +02:00
style_resolver.rs Auto merge of #18268 - emilio:dirty-viewport-followup, r=SimonSapin 2017-08-29 14:18:58 -05:00
stylesheet_set.rs style: Remove outdated comment. 2017-08-23 14:10:45 +02:00
stylist.rs Measure the stylist during memory reporting. 2017-09-05 19:43:50 +02:00
thread_state.rs Tidy up rust code with regard to new rule (no = in beginning of line) 2017-01-06 20:57:16 +01:00
timer.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
traversal.rs style: Remove the for reconstruction traversals. 2017-09-01 13:13:50 +02:00
traversal_flags.rs style: Remove the for reconstruction traversals. 2017-09-01 13:13:50 +02:00

servo-style

Style system for Servo, using rust-cssparser for parsing.