haikuwebkit/LayoutTests/svg/custom/fill-fallback.svg

11 lines
640 B
XML

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink='http://www.w3.org/1999/xlink/'>
<rect fill="url(#does_not_exist) green" stroke-width="10" width='100px' height='100px' />
<linearGradient id="grad">
<stop stop-color="green"/>
</linearGradient>
<rect fill="url(#grad) red" stroke-width="10" x="150" width='100px' height='100px' />
<text y="150">Above two green rectangles should be displayed.</text>
<text y="170">The left should fall back to the green color since the uri does not exist.</text>
<text y="190">The right should show the valid uri and not fall back to red color. Bug 12062.</text>
</svg>