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

Unified Diff: third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling.html

Issue 1376473002: Move feConvolveMatrix error handling to FEConvolveMatrix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling.html
diff --git a/third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling.html b/third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling.html
new file mode 100644
index 0000000000000000000000000000000000000000..23a23fddd0ab649c135b6c69de5cb3dabc0aeb73
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<svg width="500" color-interpolation-filters="sRGB">
+ <filter id="convError1" x="0" y="0" width="1" height="1">
+ <feConvolveMatrix order="-1 -1" kernelMatrix="1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+ <filter id="convError2" x="0" y="0" width="1" height="1">
+ <feConvolveMatrix order="1 1" kernelMatrix="1 1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+ <filter id="convError3" x="0" y="0" width="1" height="1">
+ <feConvolveMatrix order="1 1" kernelMatrix="1" divisor="0"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+ <filter id="convError4" x="0" y="0" width="1" height="1">
+ <feConvolveMatrix order="1 1" kernelMatrix="1" divisor="1" targetX="1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+ <filter id="convError5" x="0" y="0" width="1" height="1">
+ <feConvolveMatrix order="1 1" kernelMatrix="1" divisor="1" targetX="0" targetY="1"/>
+ <feColorMatrix values="1 0 0 0 0, 0 1 0 0 0.5, 0 0 1 0 0, 0 0 0 1 1"/>
+ </filter>
+
+ <rect width="500" height="100" fill="red"/>
+ <rect width="100" height="100" fill="red" filter="url(#convError1)"/>
+ <rect width="100" height="100" fill="red" filter="url(#convError2)" x="100"/>
+ <rect width="100" height="100" fill="red" filter="url(#convError3)" x="200"/>
+ <rect width="100" height="100" fill="red" filter="url(#convError4)" x="300"/>
+ <rect width="100" height="100" fill="red" filter="url(#convError5)" x="400"/>
+</svg>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/filters/feConvolveMatrix-error-handling-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698