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

Unified Diff: LayoutTests/svg/custom/gradient-rgba-stop-color.svg

Issue 126033003: Support colors w/ alpha in SVG 'stop' elements and 'feFlood' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
Index: LayoutTests/svg/custom/gradient-rgba-stop-color.svg
diff --git a/LayoutTests/svg/custom/gradient-rgba-stop-color.svg b/LayoutTests/svg/custom/gradient-rgba-stop-color.svg
new file mode 100644
index 0000000000000000000000000000000000000000..39ba91927a6d4c91c179a270ac54e605a60c6b5a
--- /dev/null
+++ b/LayoutTests/svg/custom/gradient-rgba-stop-color.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <linearGradient id="lg">
+ <stop stop-color="rgba(255,0,0,0)"/>
krit 2014/01/07 17:46:15 I think it would be great if you would use 0.5 for
+ </linearGradient>
+ <radialGradient id="rg">
+ <stop stop-color="rgba(255,0,0,0)"/>
+ </radialGradient>
+ <rect width="100" height="100" fill="#008000"/>
+ <rect width="50" height="100" fill="url(#lg)"/>
+ <rect x="50" width="50" height="100" fill="url(#rg)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698