blob: 4fae54fdc5736a8a22a4e80231b64a1bf8d7ce4c [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g fill="orange" stroke="blue">
<rect width="100" height="100" fill="none" stroke="black"/>
<rect width="100" height="100" fill="none" stroke="#ff"/>
</g>
<g fill="black">
<text x="10" y="130">The above stroke of rect should be BLUE.</text>
<text x="10" y="150">SVG 1.1 FULL says there should be a "highly perceivable error" message when an invalid stroke is used.</text>
<text x="10" y="170">Browsers don't display such an error, instead use some sort of fill-fallback.</text>
<text x="10" y="190">If there's an invalid stroke color, but no fallback specified, the stroke of the object is inherited from parent object.</text>
<text x="10" y="210">Our result matches Opera and Firefox now.</text>
</g>
</svg>