servo/components/style
bors-servo 33c6abb1a8 Auto merge of #16522 - chenpighead:stylo-border-reset-border-image, r=heycam
Reset longhands of border-image to their initial value while parsing border shorthand

To do so, we need to declare the border-image longhands as part of border
shorthand and always reset them.

Spec link: https://drafts.csswg.org/css-backgrounds-3/#the-border-shorthands

<!-- 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 #15202  (github issue number if applicable).

<!-- Either: -->
- [ ] 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. -->

<!-- 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/16522)
<!-- Reviewable:end -->
2017-04-23 02:51:47 -05:00
..
binding_tools Update Gecko atom bindings for Gecko bug 1351139. 2017-03-28 10:19:09 -04:00
gecko Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
gecko_bindings Auto merge of #16550 - froydnj:gecko-bindings-gecko-debug, r=froydnj 2017-04-22 18:40:47 -05:00
gecko_string_cache tidy and test fixes 2017-04-21 14:53:27 -07:00
properties Auto merge of #16522 - chenpighead:stylo-border-reset-border-image, r=heycam 2017-04-23 02:51:47 -05:00
rule_tree style: Tweak rule tree memory ordering. 2017-04-03 21:47:39 +02:00
servo Make font-variant shorthand. 2017-04-14 08:50:16 +09:00
values Auto merge of #16548 - nox:webkit-gradients, r=emilio 2017-04-21 14:40:02 -05:00
animation.rs Auto merge of #16527 - BorisChiou:stylo/transition/shorthands, r=emilio 2017-04-19 07:35:09 -05:00
attr.rs Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
bezier.rs
bloom.rs Do the sequential traversal breadth-first. 2017-04-09 14:52:49 +08:00
build.rs stylo: Add a build log mechanism. 2017-03-18 13:21:10 +01:00
build_gecko.rs Expose CSS length mode in Stylo glue 2017-04-14 17:22:16 +08:00
cache.rs Optimize LRUCache by using a VecDeque. 2017-04-13 21:52:39 +08:00
Cargo.toml switch gecko_bindings over to the gecko_debug feature 2017-04-22 17:00:24 -04:00
cascade_info.rs
context.rs Bug 1341372 - Part 6: Trigger transitions. 2017-04-17 17:08:54 +08:00
custom_properties.rs Rearrange PropertyDeclaration to avoid embedding DeclaredValue. 2017-03-16 14:40:55 -07:00
data.rs Bug 1341372 - Part 1: Let animation-only restyle include css-transition. 2017-04-17 17:06:12 +08:00
dom.rs Bug 1341372 - Part 6: Trigger transitions. 2017-04-17 17:08:54 +08:00
element_state.rs Bug 1350140: stylo: Implement all the remaining state pseudo-classes. r=heycam 2017-03-29 11:52:53 +02:00
encoding_support.rs Support line number offsets for inline stylesheets 2017-04-13 19:36:49 -04:00
error_reporting.rs Support line number offsets for inline stylesheets 2017-04-13 19:36:49 -04:00
font_face.rs Reject @font-face descriptors with value value followed by more stuff. 2017-04-01 14:54:57 +02:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
keyframes.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
lib.rs stylo: Centralize stylesheet handling. 2017-04-19 09:41:36 +02:00
logical_geometry.rs style: Add Gecko-only support for writing-mode:sideways-{lr,rl}. 2017-04-17 11:24:23 +10:00
matching.rs Rename SimpleSelector to Component. 2017-04-20 15:04:48 -07:00
media_queries.rs Bug 1325878: Pass the MediaList down to Servo, making <style media> work. r=xidorn 2017-04-12 22:27:45 +08:00
parallel.rs Limit traversal statistics dumps to subtrees of 50 or more elements. 2017-04-13 13:41:52 +08:00
parser.rs SVG length parsing mode 2017-04-14 17:22:16 +08:00
README.md
restyle_hints.rs Rename SimpleSelector to Component. 2017-04-20 15:04:48 -07:00
scoped_tls.rs
selector_parser.rs style: Stop special-casing a few attributes for style sharing, and use a visitor to track dependencies. 2017-04-09 18:15:50 +08:00
sequential.rs Limit traversal statistics dumps to subtrees of 50 or more elements. 2017-04-13 13:41:52 +08:00
shared_lock.rs Use AtomicRefCell instead of RwLock inside SharedRwLock for stylo. 2017-03-20 16:36:03 -07:00
sink.rs
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
stylesheet_set.rs stylo: Centralize stylesheet handling. 2017-04-19 09:41:36 +02:00
stylesheets.rs Servo does not need to support -moz-keyframes 2017-04-21 18:12:11 +09:00
stylist.rs Avoid pointer-chasing to check whether there are any declarations. 2017-04-21 17:28:10 -07:00
supports.rs Check context to test keyframe rule_type 2017-04-12 16:40:37 +08:00
thread_state.rs
timer.rs
traversal.rs style: Remove useless deny(missing_docs). 2017-04-14 11:54:49 +08:00
viewport.rs Pass ParserContext down to lengths 2017-04-12 16:40:48 +08:00

servo-style

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