Index: LayoutTests/svg/filters/in-attribute-error-handling.html |
diff --git a/LayoutTests/svg/filters/in-attribute-error-handling.html b/LayoutTests/svg/filters/in-attribute-error-handling.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..520de010dfc9ea2fa7dd56e2ae85465f4093fef7 |
--- /dev/null |
+++ b/LayoutTests/svg/filters/in-attribute-error-handling.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<svg width="400" height="100"> |
+ <filter id="notFirst"> |
+ <feFlood flood-color="green"/> |
+ <feComposite in2="SourceGraphic" in="unknown" operator="atop"/> |
+ </filter> |
+ <filter id="notFirstEmpty"> |
+ <feFlood flood-color="green"/> |
+ <feComposite in2="SourceGraphic" in="" operator="atop"/> |
+ </filter> |
+ <filter id="first"> |
+ <feComposite in2="SourceGraphic" in="unknown" operator="atop"/> |
+ </filter> |
+ <filter id="firstEmpty"> |
+ <feComposite in2="SourceGraphic" in="" operator="atop"/> |
+ </filter> |
+ <rect width="100" height="100" fill="red" filter="url(#notFirst)"/> |
+ <rect x="100" width="100" height="100" fill="red" filter="url(#notFirstEmpty)"/> |
+ <rect x="200" width="100" height="100" fill="green" filter="url(#first)"/> |
+ <rect x="300" width="100" height="100" fill="green" filter="url(#firstEmpty)"/> |
+</svg> |