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

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