Bug 655877 - Part 46: Test fix due to subpixel AA not being used for SVG text with strokes. r=longsonr

This commit is contained in:
Cameron McCormack 2012-09-06 16:07:53 +10:00
parent 62846ede0b
commit f556ba42f9

View File

@ -5,6 +5,9 @@
<svg xmlns="http://www.w3.org/2000/svg">
<title>Reference to check fill and stroke handling</title>
<text x="50" y="80" font-size="80" fill="blue" stroke="none">A B</text>
<linearGradient id="transparent">
<stop stop-opacity="0"/>
</linearGradient>
<text x="50" y="80" font-size="80" fill="blue" stroke="url(#transparent)">A B</text>
<text x="50" y="80" font-size="80" fill="none" stroke="yellow" stroke-width="2">A B</text>
</svg>

Before

Width:  |  Height:  |  Size: 395 B

After

Width:  |  Height:  |  Size: 493 B