servo/components/style
bors-servo b61c45639a Auto merge of #12572 - craftytrickster:10933/shorthands, r=emilio
10933/shorthands

<!-- Please describe your changes on the following line: -->
This implements the serialization of nearly all of the css shorthand properties with the following exceptions:

1. font - this may be implemented correctly, but I am not 100% sure
2. border-radius - I do not know how to implement this, since I am not familiar with how the property works
3. background - this is implemented, but I think that the implementation might be a tiny bit off.

---
<!-- 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 #10933  (github issue number if applicable). Also fixes issue #11448

<!-- 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/12572)
<!-- Reviewable:end -->
2016-08-17 12:17:48 -05:00
..
generated stylo: Regenerate the world. 2016-08-15 22:58:32 -07:00
properties Auto merge of #12572 - craftytrickster:10933/shorthands, r=emilio 2016-08-17 12:17:48 -05:00
values Adding support for correct shorthand serialization 2016-08-16 22:28:51 -04:00
animation.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
attr.rs Replace the SelectorImplExt trait with inherent methods. 2016-08-09 18:17:13 +02:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs Detect python2.7.exe on windows 2016-07-08 18:50:59 +10:00
cache.rs Move util::cache to style. 2016-07-08 16:44:47 +02:00
Cargo.toml Update serde to 0.8 (fixes #12659) 2016-08-12 18:37:27 +02:00
cascade_info.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
context.rs style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
custom_properties.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
data.rs stylo: Don't traverse the whole dom every restyle, propagate the dirty flag down the DOM. 2016-07-24 12:51:58 -07:00
dom.rs Add a flag to dump the computed style values 2016-08-12 11:11:23 -07:00
element_state.rs Issue 7720: Add target selector and update when scrolling to fragment 2016-08-03 13:23:10 +01:00
error_reporting.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
font_face.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
gecko_conversions.rs Add safer bindings for refcounted types across ffi 2016-08-17 12:30:31 +05:30
gecko_selector_impl.rs stylo: We have an Atom back-end now. 2016-08-15 22:58:33 -07:00
gecko_values.rs Make nsStyleUnion sugar use traits 2016-07-21 13:35:47 +05:30
keyframes.rs style: Fix timing-function overriding from the keyframe declaration list. 2016-07-07 16:05:28 -07:00
lib.rs Add safer bindings for refcounted types across ffi 2016-08-17 12:30:31 +05:30
logical_geometry.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
matching.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
media_queries.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
parallel.rs Don't create unneeded temporaries in style traversals. 2016-08-10 18:26:29 -07:00
parser.rs Update to selectors 0.8.2 2016-08-09 18:18:38 +02:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
refcell.rs Add commit hash to be reverted in FIXME comment. 2016-06-23 16:14:33 +02:00
restyle_hints.rs Update to selectors 0.8.2 2016-08-09 18:18:38 +02:00
selector_impl.rs style: Fix pseudo-element restyling. 2016-08-10 18:26:25 -07:00
selector_matching.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
sequential.rs Don't create unneeded temporaries in style traversals. 2016-08-10 18:26:29 -07:00
servo_selector_impl.rs Update to selectors 0.8.2 2016-08-09 18:18:38 +02:00
sink.rs Move util::vec::ForgetfulSink to style::sink and simplify it 2016-07-04 16:48:14 +02:00
str.rs Move util::str to style 2016-07-05 10:43:54 +02:00
stylesheets.rs style: Correcly track whether calc values support viewport sizes. 2016-08-14 01:37:28 -07:00
tid.rs Move util::tid to style 2016-07-05 10:36:38 +02:00
timer.rs style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
traversal.rs style: Remove the block that explicitly checked for the style attribute, since now it's useless. 2016-08-16 10:58:17 -07:00
viewport.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
workqueue.rs Remove unused libc dependency for windows in style 2016-08-04 10:09:34 +10:00

servo-style

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