Debian Codegraph @

rsvg/tests/fixtures/reftests/invalid-element-type-for-paint-server.svg

raw symbols SCIP
1 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="10">
2 <!-- Test that a paint server url(#blahblah) that does not actually point to a paint
3 server (linearGradient, radialGradient, pattern) is handled properly. Here we have
4 two rectangles whose "fill" attributes point to a <circle> element, i.e. an invalid
5 element type for paint servers. The first rectangle has a fallback color, and the
6 second one doesn't; in this case the first rectangle should be filled with the
7 color, and the second one should not be rendered at all.
8 -->
9 <defs>
10 <circle id="this_is_not_a_paint_server"/>
11 </defs>
12
13 <rect x="0" y="0" width="10" height="10" fill="url(#this_is_not_a_paint_server) lime"/>
14 <rect x="10" y="0" width="10" height="10" fill="url(#this_is_not_a_paint_server)"/>
15 </svg>