Bug 797691 - Tweak stroke-dasharray-and-text-01.svg to avoid slight rendering differences on Android. r=longsonr

This commit is contained in:
Cameron McCormack 2012-10-04 17:39:09 +10:00
parent 245fcf89a7
commit 4724a6b033
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
-->
<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>

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 404 B

View File

@ -5,7 +5,7 @@
<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>

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 448 B