| 1 | <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100" height="100"> |
| 2 | <!-- Test that we don't crash with an invalid gradientTransform attribute. --> |
| 3 | |
| 4 | <linearGradient id="gradient" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0" gradientTransform="matrix(0 0 0 0 0 0)"> |
| 5 | <stop stop-color="black" offset="0"/> |
| 6 | <stop stop-color="white" offset="1"/> |
| 7 | </linearGradient> |
| 8 | |
| 9 | <rect x="0" y="0" width="100" height="100" fill="url(#gradient)"/> |
| 10 | </svg> |