<!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <svg xmlns="http://www.w3.org/2000/svg"> <title>Reference to check fill and stroke handling</title> <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>