Bug 944704, part 5 - Reftest for stroke-dasharray on circle. r=Bas
authorJonathan Watt <jwatt@jwatt.org>
Sat, 14 Dec 2013 11:09:36 +0000
changeset 160503 057d71e9082e933e32771e55bfec9215267f17f2
parent 160502 ab057ed707f650241e307525c36877639a5d618d
child 160504 9b9b503919277de198f1c0a0c6ea931d5f955a94
push id37609
push userjwatt@jwatt.org
push dateSat, 14 Dec 2013 11:10:11 +0000
treeherdermozilla-inbound@057d71e9082e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBas
bugs944704
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 944704, part 5 - Reftest for stroke-dasharray on circle. r=Bas
layout/reftests/svg/stroke-dasharray-02.svg
--- a/layout/reftests/svg/stroke-dasharray-02.svg
+++ b/layout/reftests/svg/stroke-dasharray-02.svg
@@ -5,16 +5,26 @@
 <svg xmlns="http://www.w3.org/2000/svg">
 
   <title>Test the start point and direction of dashing on circle and ellipse</title>
 
   <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=944704 -->
 
   <rect width="100%" height="100%" fill="lime"/>
 
+  <!-- Test circle element dashes cover two red circles -->
+  <circle cx="100" cy="62" r="8" fill="red"/>
+  <circle cx="66" cy="98" r="8" fill="red"/>
+  <circle cx="50" cy="50" r="50" fill="none" stroke="lime" stroke-width="30" stroke-dasharray="25 25 25 100000"/>
+
+  <!-- Sanity test to check that two circles cover circle element dashes (i.e. that the previous check didn't pass because the stroke was solid) -->
+  <circle cx="200" cy="50" r="50" fill="none" stroke="red" stroke-width="10" stroke-dasharray="10 40 10 100000"/>
+  <circle cx="250" cy="56" r="11" fill="lime"/>
+  <circle cx="223" cy="96" r="11" fill="lime"/>
+
   <!-- Test ellipse element dashes cover two red circles -->
   <circle cx="95" cy="211" r="8" fill="red"/>
   <circle cx="47" cy="225" r="8" fill="red"/>
   <ellipse cx="50" cy="200" rx="50" ry="25" fill="none" stroke="lime" stroke-width="25" stroke-dasharray="25 25 25 100000"/>
 
   <!-- Sanity test to check that two circles cover ellipse element dashes (i.e. that the previous check didn't pass because the stroke was solid) -->
   <ellipse cx="200" cy="200" rx="50" ry="25" fill="none" stroke="red" stroke-width="10" stroke-dasharray="10 40 10 100000"/>
   <circle cx="250" cy="205" r="11" fill="lime"/>