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

Unified Diff: LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-1.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: Rebase; Prebake expected colors. 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-w-opacity-1.svg
diff --git a/LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-1.svg b/LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-1.svg
new file mode 100644
index 0000000000000000000000000000000000000000..50d5927d0a5e9c49f9c5ba325756acc657d5a0db
--- /dev/null
+++ b/LayoutTests/svg/custom/gradient-rgba-stop-color-w-opacity-1.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <linearGradient id="lg">
+ <stop stop-color="rgba(255,0,0,0.5)" stop-opacity="0"/>
+ </linearGradient>
+ <radialGradient id="rg">
+ <stop stop-color="rgba(255,0,0,0.5)" stop-opacity="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