aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/reference/transform-inline-ref.htm
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-09-21 17:13:25 -0700
committerBryan Bell <bryan.w.bell@gmail.com>2015-09-21 17:26:47 -0700
commit071acf476b92bedf6ef90e653ebfa483d4d6ee74 (patch)
tree84c48822781f557a1b700513dd0d23b29e45084a /tests/wpt/css-tests/css-transforms-1_dev/html/reference/transform-inline-ref.htm
parent61267cde63ce6c0f6433f57b3f8054886577d767 (diff)
downloadservo-071acf476b92bedf6ef90e653ebfa483d4d6ee74.tar.gz
servo-071acf476b92bedf6ef90e653ebfa483d4d6ee74.zip
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.
Diffstat (limited to 'tests/wpt/css-tests/css-transforms-1_dev/html/reference/transform-inline-ref.htm')
0 files changed, 0 insertions, 0 deletions