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.
This commit is contained in:
Patrick Walton 2015-08-14 16:41:27 -07:00
parent 13e7de482c
commit 3f4487d81d
4 changed files with 129 additions and 26 deletions

View file

@ -58,6 +58,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>