servo/components
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
..
canvas Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
canvas_traits Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
compositing compositor: Send animation ticks to layout even if there are script animation frames. 2016-08-05 13:44:38 -07:00
constellation Implement history.length 2016-08-03 11:42:31 -06:00
devtools Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
devtools_traits Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
gfx Auto merge of #12783 - Wafflespeanut:word_spacing, r=Manishearth 2016-08-09 10:13:30 -05:00
gfx_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
layout Prefer length and percentage for word spacing 2016-08-09 17:53:40 +05:30
layout_thread layout: Expand animation test mode to support not force-ticking layout. 2016-08-05 14:42:45 -07:00
layout_traits Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
msg Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
net Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
net_traits Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
plugins Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04) 2016-08-05 14:45:32 +02:00
profile Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04) 2016-08-05 14:45:32 +02:00
profile_traits Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
range Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04) 2016-08-05 14:45:32 +02:00
script layout: Expand animation test mode to support not force-ticking layout. 2016-08-05 14:42:45 -07:00
script_layout_interface layout: Expand animation test mode to support not force-ticking layout. 2016-08-05 14:42:45 -07:00
script_traits Implement history.length 2016-08-03 11:42:31 -06:00
servo Auto merge of #12783 - Wafflespeanut:word_spacing, r=Manishearth 2016-08-09 10:13:30 -05:00
style Auto merge of #12783 - Wafflespeanut:word_spacing, r=Manishearth 2016-08-09 10:13:30 -05:00
style_traits All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
util Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00
webdriver_server Update cargo.lock for wr2, pin ipc-channel. 2016-08-03 10:44:10 +02:00