| 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>
|
|
|