OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <svg width="200" height="100"> | |
3 <rect width="100" height="100" fill="red"/> | |
4 <symbol id="inner"> | |
5 <rect width="100" height="100"/> | |
6 </symbol> | |
7 <symbol id="outer"> | |
8 <rect x="50%" width="100" height="100" fill="red"/> | |
9 <use xlink:href="#inner" x="50%" fill="green"/> | |
10 </symbol> | |
11 <use xlink:href="#outer" transform="translate(-100, 0)"/> | |
12 </svg> | |
OLD | NEW |