| OLD | NEW |
| (Empty) |
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <svg xmlns="http://www.w3.org/2000/svg"> | |
| 3 <g fill="orange"> | |
| 4 <rect width="100" height="100" fill="red"/> | |
| 5 <rect width="100" height="100" fill="url(#notthere)"/> | |
| 6 <g fill="black"> | |
| 7 <text x="10" y="130">The above rect should be ORANGE.</text> | |
| 8 <text x="10" y="150">SVG 1.1 FULL says there should be a "highly perceivab
le error" message when an invalid fill is used.</text> | |
| 9 <text x="10" y="170">Browsers don't display such an error, instead use som
e sort of fill-fallback.</text> | |
| 10 <text x="10" y="190">If there's an non-existent uri, but no fallback speci
fied, the fill of the object is inherited from parent object.</text> | |
| 11 <text x="10" y="210">This has recently been changed in SVG 1.1 2nd edition
. Our result matches Opera now.</text> | |
| 12 </g> | |
| 13 </g> | |
| 14 </svg> | |
| OLD | NEW |