servo/components
bors-servo 4077ae7d04 Auto merge of #12543 - mrobinson:off-by-one-ng, r=pcwalton
Accumulate subpixels through stacking contexts

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

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

Instead of simply rounding layer origins and discarding subpixel
offsets, accumulate them by transforming them into the space of the
next child stacking context. This is an attempt to eliminate subpixel
differences that are caused by different stacking context boundaries in
reference tests.

Currently these accumulated subpixels are only used for text
positioning, but the plan is that they can be used for all drawing in
the future.

<!-- 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/12543)
<!-- Reviewable:end -->
2016-07-27 05:17:22 -05:00
..
canvas Remove dependency on util::opts from canvas crate 2016-07-20 07:38:18 +00:00
canvas_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
compositing Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
constellation Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
devtools Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
devtools_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
gfx Accumulate subpixels through stacking contexts 2016-07-27 11:17:55 +02:00
gfx_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
layout Auto merge of #12593 - adamncasey:table-row-cell-height, r=pcwalton 2016-07-26 20:17:02 -05:00
layout_thread Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
layout_traits Hoist retrieval of layout_threads from opts into Constellation 2016-07-24 21:45:31 +02:00
msg Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
net Remove use of util::opts from storage_thread 2016-07-27 10:25:48 +02:00
net_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
plugins Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
profile Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
profile_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
range Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
script Auto merge of #12582 - creativcoder:sw-fetch, r=jdm 2016-07-26 22:54:56 -05:00
script_layout_interface Hoist retrieval of layout_threads from opts into Constellation 2016-07-24 21:45:31 +02:00
script_traits Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) 2016-07-26 19:35:51 +02:00
servo Remove use of util::opts from resource_thread 2016-07-27 10:22:06 +02:00
style Auto merge of #12608 - bholley:sync_anon_box, r=emilio 2016-07-26 23:58:23 -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 Auto merge of #12468 - asajeffrey:constellation-remove-panic-channel, r=emilio 2016-07-21 11:20:37 -05:00
webdriver_server Auto merge of #11791 - craftytrickster:11712/pipeline-lookup, r=asajeffrey 2016-07-26 00:44:28 -05:00