Auto merge of #7222 - pcwalton:dashed-border-radius, r=glennw

gfx: Paint dashed borders with nonzero radii the same way Gecko does.

It's not ideal, but it was easy to implement and will do for now.

Closes #7157.

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7222)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-17 16:53:58 -06:00
commit f4b526cfb4
4 changed files with 129 additions and 26 deletions

View file

@ -59,6 +59,7 @@ flaky_cpu == append_style_a.html append_style_b.html
== border_collapse_missing_cell_a.html border_collapse_missing_cell_ref.html
== border_collapse_simple_a.html border_collapse_simple_ref.html
== border_radius_clip_a.html border_radius_clip_ref.html
!= border_radius_dashed_a.html border_radius_dashed_ref.html
== border_radius_overlapping_a.html border_radius_overlapping_ref.html
== border_spacing_a.html border_spacing_ref.html
== border_spacing_auto_layout_a.html border_spacing_ref.html

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<style>
section {
border: dashed red 3px;
width: 100px;
height: 100px;
border-radius: 16px;
}
</style>
<section></section>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<style>
section {
border: dashed red 3px;
width: 100px;
height: 100px;
}
</style>
<section></section>