servo/components
Bryan Bell 071acf476b 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.
2015-09-21 17:26:47 -07:00
..
canvas Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
canvas_traits Bump euclid to 0.2 2015-09-12 01:06:26 +02:00
compositing Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
devtools Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
devtools_traits Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
gfx gfx: Fix border-radius panic when a corner has 0px and >0px borders 2015-09-21 17:26:47 -07:00
gfx_traits Layerize canvas 2015-05-20 19:10:50 +02:00
layout Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
layout_traits Bump euclid to 0.2 2015-09-12 01:06:26 +02:00
msg Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
net Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
net_traits Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
plugins Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
profile Auto merge of #7559 - ddrmanxbxfr:RFC-0344-Work, r=nox 2015-09-12 18:29:56 -06:00
profile_traits Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
script Auto merge of #7601 - nox:cleanup-dom-webidls, r=Ms2ger 2015-09-19 17:50:22 -06:00
script_traits Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
servo Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
style Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
style_traits Bump euclid to 0.2 2015-09-12 01:06:26 +02:00
util Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
webdriver_server Auto merge of #7548 - jgraham:webdriver_prefs, r=metajack 2015-09-14 22:08:28 -06:00
webdriver_traits Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00