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

Unified Diff: LayoutTests/svg/custom/fill-fallback-currentcolor-1.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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/fill-fallback-currentcolor-1-expected.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/fill-fallback-currentcolor-1.svg
diff --git a/LayoutTests/svg/custom/fill-fallback-currentcolor-1.svg b/LayoutTests/svg/custom/fill-fallback-currentcolor-1.svg
new file mode 100644
index 0000000000000000000000000000000000000000..b955a94d01389887738feadadaa06086c128ba58
--- /dev/null
+++ b/LayoutTests/svg/custom/fill-fallback-currentcolor-1.svg
@@ -0,0 +1,9 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <linearGradient id="lg">
+ <stop stop-color="#008000"/>
+ </linearGradient>
+ <!-- Test that 'fill' on the 'rect' uses the gradient 'lg'. -->
+ <g color="#ff0000" fill="#ff0000">
+ <rect width="100" height="100" fill="url(#lg) currentColor"/>
+ </g>
+</svg>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/fill-fallback-currentcolor-1-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698