servo/components
bors-servo 9c528c6382 Auto merge of #7161 - mbrubeck:underline, r=pcwalton
Snap rectangles to nearest pixels consistently.

Snapping the top-left and bottom-right corners separately can cause a rectangle to change size or even become empty when offset by a subpixel amount.  Instead, this patch snaps the top-left corner, then snaps the size to a whole pixel amount, so any rectangle of a given original size will always have the same snapped size.

Fixes #7152. r? @pcwalton or @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7161)
<!-- Reviewable:end -->
2015-08-11 11:31:32 -06:00
..
canvas Auto merge of #7092 - dzbarsky:putimagedata, r=jdm 2015-08-09 07:00:56 -06:00
canvas_traits Auto merge of #7092 - dzbarsky:putimagedata, r=jdm 2015-08-09 07:00:56 -06:00
compositing layout: Carry out some minor style cleanups. 2015-08-10 21:27:05 -07:00
devtools Auto merge of #7140 - wilmoz:master, r=jdm 2015-08-11 01:34:47 -06:00
devtools_traits Auto merge of #7140 - wilmoz:master, r=jdm 2015-08-11 01:34:47 -06:00
gfx Auto merge of #7161 - mbrubeck:underline, r=pcwalton 2015-08-11 11:31:32 -06:00
gfx_traits Layerize canvas 2015-05-20 19:10:50 +02:00
layout layout: Carry out some minor style cleanups. 2015-08-10 21:27:05 -07:00
layout_traits servo: Update ipc-channel to pick up bincode support. 2015-08-08 09:43:53 -07:00
msg compositing: Add some layer tree debugging infrastructure. 2015-08-10 21:27:04 -07:00
net Remove Message suffix from NetworkEventMessage 2015-08-10 18:48:53 -05:00
net_traits servo: Update ipc-channel to pick up bincode support. 2015-08-08 09:43:53 -07:00
plugins Fix minor typo in lint docstring. 2015-08-05 20:00:39 +02:00
profile Auto merge of #6850 - servo:rustup_2015-07-30, r=SimonSapin 2015-07-30 14:46:13 -06:00
profile_traits servo: Update ipc-channel to pick up bincode support. 2015-08-08 09:43:53 -07:00
script Auto merge of #7104 - dzbarsky:add_color_stop, r=Ms2ger 2015-08-11 06:24:35 -06:00
script_traits servo: Update ipc-channel to pick up bincode support. 2015-08-08 09:43:53 -07:00
servo Update rust-layers to get 2d transform + clipping support. 2015-08-11 08:48:44 +10:00
style servo: Update ipc-channel to pick up bincode support. 2015-08-08 09:43:53 -07:00
util Add the Servo User Agent strings 2015-08-10 19:11:12 -05:00
webdriver_server script: Make the resource task communication use IPC channels. 2015-07-31 11:28:09 -07:00
webdriver_traits Add support for switching frames with the webdriver API. 2015-06-01 23:18:55 +01:00