servo/components/style/properties
bors-servo 3b676bc85d Auto merge of #12783 - Wafflespeanut:word_spacing, r=Manishearth
Prefer length and percentage for word spacing

<!-- Please describe your changes on the following line: -->
The goal is to make use of `LengthOrPercentage` for word spacing in `ShapingOptions`, but since it makes use of `f32` which doesn't implement `Hash`, we're going for `NotNan<f32>` from [ordered-float](https://github.com/reem/rust-ordered-float/), which supports hashing. Instead of implementing `Hash` for `LengthOrPercentage` and thereby the inner types like `CSSFloat`, `CalcLengthOrPercentage`, etc., we convert it to `(Au, NotNan<f32>)`.

---
<!-- 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

<!-- Either: -->
- [ ] There are tests for these changes

<!-- 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/12783)
<!-- Reviewable:end -->
2016-08-09 10:13:30 -05:00
..
helpers Fix interpolation of CalcLengthOrPercentage (fixes #12765) 2016-08-09 14:47:38 +02:00
longhand Prefer length and percentage for word spacing 2016-08-09 17:53:40 +05:30
shorthand Add Polygon to basic_shape.rs 2016-08-02 15:57:28 +05:30
build.py Move geckolib/properties.mako.rs to style/properties/gecko.mako.rs 2016-07-20 08:40:22 +02:00
data.py Resync stylo bindings 2016-07-26 15:14:24 +05:30
gecko.mako.rs stylo: Use AtomicUsize to store our initial computed values. 2016-08-05 13:42:38 -07:00
helpers.mako.rs Resync stylo bindings 2016-07-26 15:14:24 +05:30
Mako-0.9.1.zip Move Mako-related files into a new sub-directory. 2016-04-20 14:49:27 +02:00
properties.html.mako Move Mako-related files into a new sub-directory. 2016-04-20 14:49:27 +02:00
properties.mako.rs Add serialize_four_sides, use for serializing BorderRadius 2016-08-02 19:22:03 +05:30