Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink=" http://www.w3.org/1999/xlink"> | |
|
Stephen White
2015/09/17 13:58:14
Nit: suggest we specify a width/height that explic
f(malita)
2015/09/17 15:02:11
Done.
| |
| 3 <defs> | |
| 4 <filter id="missing_href"> | |
| 5 <feImage out="out1"/> | |
| 6 <feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/> | |
| 7 </filter> | |
| 8 | |
| 9 <filter id="missing_image"> | |
| 10 <feImage out="out1" xlink:href="missing.png"/> | |
| 11 <feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/> | |
| 12 </filter> | |
| 13 | |
| 14 <filter id="broken_decode"> | |
| 15 <feImage out="out1" xlink:href="data:image/gif;base64,FOO"/> | |
| 16 <feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/> | |
| 17 </filter> | |
| 18 | |
| 19 <filter id="unsupported_format"> | |
| 20 <feImage out="out1" xlink:href="data:image/foo;base64,"/> | |
| 21 <feColorMatrix type="matrix" in="out1" values="1 0 0 0 0 0 -1 0 0 1 0 0 1 0 0 0 0 0 -1 1"/> | |
| 22 </filter> | |
| 23 </defs> | |
| 24 | |
| 25 <rect x="100" y="50" width="200" height="100" fill="red" filter="url(#missing_ href)"/> | |
| 26 <rect x="100" y="200" width="200" height="100" fill="red" filter="url(#missing _image)"/> | |
| 27 <rect x="100" y="350" width="200" height="100" fill="red" filter="url(#broken_ decode)"/> | |
| 28 <rect x="100" y="500" width="200" height="100" fill="red" filter="url(#unsuppo rted_format)"/> | |
| 29 | |
| 30 </svg> | |
| OLD | NEW |