Bug 797691 - Tweak stroke-dasharray-and-text-01.svg to avoid slight rendering differences on Android. r=longsonr
authorCameron McCormack <cam@mcc.id.au>
Thu, 04 Oct 2012 17:39:09 +1000
changeset 115519 b9336d5fe02e6f9f340ac345d73b8fb04d2b349b
parent 115518 984026798238b2a6de2452982d8f30a02e04c951
child 115520 136440ce1cd0d7831f8da46681c537498529d4b4
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 17:57:20 +0000
reviewerslongsonr
bugs797691
milestone18.0a1
Bug 797691 - Tweak stroke-dasharray-and-text-01.svg to avoid slight rendering differences on Android. r=longsonr
layout/reftests/svg/stroke-dasharray-and-text-01-ref.svg
layout/reftests/svg/stroke-dasharray-and-text-01.svg
--- a/layout/reftests/svg/stroke-dasharray-and-text-01-ref.svg
+++ b/layout/reftests/svg/stroke-dasharray-and-text-01-ref.svg
@@ -1,10 +1,10 @@
 <!--
      Any copyright is dedicated to the Public Domain.
      http://creativecommons.org/publicdomain/zero/1.0/
 -->
 <svg xmlns="http://www.w3.org/2000/svg">
   <title>Test stroke-dasharray with text and zooming</title>
-  <g fill="none" stroke-width="2" stroke="black" stroke-dasharray="20">
-    <text font-size="100" x="100" y="100">|</text>
+  <g fill="none" stroke-width="2" stroke="black" stroke-dasharray="64" stroke-linejoin="round" stroke-linecap="round">
+    <text font-size="128" x="128" y="128">|</text>
   </g>
 </svg>
--- a/layout/reftests/svg/stroke-dasharray-and-text-01.svg
+++ b/layout/reftests/svg/stroke-dasharray-and-text-01.svg
@@ -1,11 +1,11 @@
 <!--
      Any copyright is dedicated to the Public Domain.
      http://creativecommons.org/publicdomain/zero/1.0/
 -->
 <svg xmlns="http://www.w3.org/2000/svg" reftest-zoom="2"
      width="50%" height="50%">
   <title>Test stroke-dasharray with text and zooming</title>
-  <g fill="none" stroke-width="1" stroke="black" stroke-dasharray="10">
-    <text font-size="50" x="50" y="50">|</text>
+  <g fill="none" stroke-width="1" stroke="black" stroke-dasharray="32" stroke-linejoin="round" stroke-linecap="round">
+    <text font-size="64" x="64" y="64">|</text>
   </g>
 </svg>