OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 image {width: auto} | |
4 rect {height: auto} | |
5 foreignObject {width: auto} | |
rwlbuis
2016/08/10 15:25:24
Please add some spacing above:
foreignObject { wid
| |
6 </style> | |
7 <svg width="500" height="500"> | |
8 <image width="100" height="100" | |
9 xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' w idth='100' height='200' style='background-color: green'></svg>"/> | |
10 <foreignObject x="105" width="100" height="100" style="background: green"> | |
11 </foreignObject> | |
rwlbuis
2016/08/10 15:25:24
Better to just make foreignObject closed: <foreign
| |
12 <rect y="105" width="100" height="100" fill="green"> </rect> | |
rwlbuis
2016/08/10 15:25:25
Ditto.
Shanmuga Pandi
2016/08/11 05:54:19
Done.
| |
13 </svg> | |
OLD | NEW |