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

Unified Diff: LayoutTests/svg/filters/in-attribute-error-handling.html

Issue 558693002: Adjust error-handling for invalid filter primitive references (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/filters/in-attribute-error-handling-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/filters/in-attribute-error-handling-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698