aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/filereader.rs
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-08-24 20:48:53 -0700
committerBryan Bell <bryan.w.bell@gmail.com>2015-08-31 13:02:05 -0700
commitd539b9b2e6e07d9064b4ad55a242a5691bc70746 (patch)
treeaa0ac49fdabb5af199e060a1b96d39514697d48c /components/script/dom/filereader.rs
parentab55e3ec1012bf6032803c2036059297b19e3b94 (diff)
downloadservo-d539b9b2e6e07d9064b4ad55a242a5691bc70746.tar.gz
servo-d539b9b2e6e07d9064b4ad55a242a5691bc70746.zip
gfx: Border radius support for asymmetric borders
This change adds support for calculating the correct angle in the border corner arc when switching from one border to another e.g. the left border to the top border. When the border-top/right/bottom/left-widths are not the same, the angle on the border corner arc separating the borders isn't pi/4. For example, if the top border width is much larger than the left border width then most of the border corner should be drawn using the top border color. Elliptical border radii are supported for when elliptical border radii are added. The common case where borders have the same width sets the angle to pi/4 directly. A ref test is also included.
Diffstat (limited to 'components/script/dom/filereader.rs')
0 files changed, 0 insertions, 0 deletions