diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-08-31 14:58:33 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-08-31 14:58:33 -0600 |
commit | afc2c381db9c85eba3c10e87966351f77678dc6e (patch) | |
tree | c10fcf1e54e871fd68eaeb691b58c50c34329226 /components/script/dom/htmlappletelement.rs | |
parent | 60c72f601c4dd7cfbc8a4a983099a4b323f1516a (diff) | |
parent | d539b9b2e6e07d9064b4ad55a242a5691bc70746 (diff) | |
download | servo-afc2c381db9c85eba3c10e87966351f77678dc6e.tar.gz servo-afc2c381db9c85eba3c10e87966351f77678dc6e.zip |
Auto merge of #7370 - bjwbell:bugfix-unequal-borders, r=pcwalton
gfx: Border radius support for asymmetric sized borders
When the border-top/right/bottom/left-widths are not equal, the angle on the border corner arc separating the borders isn't PI/4.
For instance 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.
This change adds support for calculating the correct angle in the border
corner arc for switching from one border to another e.g. the left border
to the top border.
It supports elliptical border radii for when elliptical border radii are
added.
A ref test is also included.
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7370)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlappletelement.rs')
0 files changed, 0 insertions, 0 deletions