Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: LayoutTests/svg/filters/feimage-invalid-image.svg

Issue 1334173004: Switch SVGFEImage from SkBitmapSource to SkImageSource (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: spec compliant + test Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/filters/feimage-invalid-image-expected.svg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/filters/feimage-invalid-image-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698