OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <svg xmlns="http://www.w3.org/2000/svg"> |
| 3 <title id="test-title">gradient containing disallowed elements</title> |
| 4 <linearGradient id="grad1" gradientUnits="objectBoundingBox" x1="0" y1="0" x2=
"1" y2="0"> |
| 5 <stop stop-color="blue" offset="0"/> |
| 6 <stop stop-color="red" offset="1"/> |
| 7 <rect width="100" height="100" fill="red"/> |
| 8 <g> |
| 9 <foreignObject/> |
| 10 </g> |
| 11 <linearGradient id="grad2" gradientUnits="objectBoundingBox" x1="0" y1="0" x
2="1" y2="0"> |
| 12 <stop stop-color="green" offset="0"/> |
| 13 <stop stop-color="purple" offset="1"/> |
| 14 </linearGradient> |
| 15 </linearGradient> |
| 16 <rect x="20" y="10" width="440" height="30" fill="url(#grad1)" /> |
| 17 <rect x="20" y="50" width="440" height="30" fill="url(#grad2)" /> |
| 18 </svg> |
OLD | NEW |