servo/components/compositing
bors-servo fc90e613d8
Auto merge of #20071 - paulrouget:typedsize, r=glennw
Use typed coordinates more

Requires https://github.com/servo/servo/pull/19895

We use Size2D and Point2D across compositing, constellation and script, loosing the type of pixels we use (DevicePixel, DeviceIndepententPixel or CSSPixel) along the way, which might lead to bugs like `window.outerHeight` not taking into account the page zoom (using DeviceIndepententPixel instead of CSSPixel).

This should make the situation a bit better.

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because we can't zoom in a test

<!-- 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/20071)
<!-- Reviewable:end -->
2018-03-16 17:18:24 -04:00
..
Cargo.toml build(cargo): enable webrender capture feature 2018-03-16 09:59:57 -07:00
compositor.rs Auto merge of #20071 - paulrouget:typedsize, r=glennw 2018-03-16 17:18:24 -04:00
compositor_thread.rs alias some euclid types 2018-03-16 14:34:29 +08:00
lib.rs Update webrender for latest RenderNotifier changes. 2017-10-23 11:03:57 +10:00
touch.rs Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
windowing.rs Auto merge of #20071 - paulrouget:typedsize, r=glennw 2018-03-16 17:18:24 -04:00