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

Unified Diff: LayoutTests/svg/custom/fill-fallback-currentcolor-2.svg

Issue 108303009: Handle "url(...) none" and "url(...) currentColor" SVG paint specs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added TC for 'none' fallback w/ failing url(...). Created 7 years 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
Index: LayoutTests/svg/custom/fill-fallback-currentcolor-2.svg
diff --git a/LayoutTests/svg/custom/fill-fallback-currentcolor-2.svg b/LayoutTests/svg/custom/fill-fallback-currentcolor-2.svg
new file mode 100644
index 0000000000000000000000000000000000000000..8cbb78c20f1942f97978c3145128ef808c5d6fad
--- /dev/null
+++ b/LayoutTests/svg/custom/fill-fallback-currentcolor-2.svg
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <!-- Test that 'fill' on the 'rect' falls back to currentColor (green). -->
+ <g color="#008000" fill="#ff0000">
+ <rect width="100" height="100" fill="url(#notfound) currentColor"/>
+ </g>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698