diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-24 18:18:07 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-24 18:18:07 -0600 |
commit | 4d1be2f56cd7a37c4c803ba12733fca55b57d4de (patch) | |
tree | fc1298ebcaa11e85b2623fcf1d0e7e838482f55d /tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/css-transform-inherit-scale.xht | |
parent | d811f2d1baac6dcb501f3588eb509086bd1b2a66 (diff) | |
parent | 17c20f06fccdd2ae4765688b6e981a7ed8c7a8b5 (diff) | |
download | servo-4d1be2f56cd7a37c4c803ba12733fca55b57d4de.tar.gz servo-4d1be2f56cd7a37c4c803ba12733fca55b57d4de.zip |
Auto merge of #7703 - bjwbell:bugfix-0px-and-non-0px-border-widths, r=pcwalton
gfx: Fix border-radius panic when a corner has 0px and >0px borders
When one border is 0px and the other is >0px then the border corner
drawing code panics when computing the values to use in drawing the
border corner arcs.
This fixes that bug and makes the `draw_corner` function more robust
by explicitly passing an enum, `BorderCorner`, naming which corner is
being drawn e.g. `BorderCorner::TL`.
Add a ref test,
`border_radius_zero_sizes_a.html/border_radius_zero_sizes_ref.html`.
Fixes https://github.com/servo/servo/issues/7700.
r? @pcwalton or @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7703)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/css-transform-inherit-scale.xht')
0 files changed, 0 insertions, 0 deletions