Debian Codegraph @

testsuite/svg/renderer/nested-svg.svg

raw symbols SCIP
1 <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" overflow='visible'>
2 <!-- Simple nested svg with x, y, width, height -->
3 <svg x="10" y="10" width="50" height="50">
4 <rect x="0" y="0" width="50" height="50" fill="red"/>
5 </svg>
6
7 <!-- Nested svg with viewBox -->
8 <svg x="70" y="10" width="50" height="50" viewBox="0 0 100 100">
9 <circle cx="50" cy="50" r="50" fill="blue"/>
10 </svg>
11
12 <!-- Nested svg with viewBox and preserveAspectRatio -->
13 <svg x="130" y="10" width="60" height="30" viewBox="0 0 100 100" preserveAspectRatio="none">
14 <rect x="0" y="0" width="100" height="100" fill="green"/>
15 </svg>
16
17 <!-- Nested svg with overflow -->
18 <svg x="10" y="70" width="50" height="50" overflow="visible">
19 <circle cx="25" cy="25" r="40" fill="yellow"/>
20 </svg>
21
22 <!-- Deeply nested svg elements -->
23 <svg x="70" y="70" width="80" height="80" overflow='visible'>
24 <svg x="10" y="10" width="60" height="60" viewBox="0 0 100 100" overflow='visible'>
25 <svg x="20" y="20" width="60" height="60" overflow='visible'>
26 <rect x="0" y="0" width="100" height="100" fill="purple"/>
27 </svg>
28 </svg>
29 </svg>
30 </svg>