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

Unified Diff: LayoutTests/svg/filters/feComposite-operator-lighter.svg

Issue 779963002: Add the 'lighter' composite operation to feComposite. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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/filters/feComposite-operator-lighter.svg
diff --git a/LayoutTests/svg/filters/feComposite-operator-lighter.svg b/LayoutTests/svg/filters/feComposite-operator-lighter.svg
new file mode 100644
index 0000000000000000000000000000000000000000..74a969d1ba8c340f823bc02e24ecc837d87e7421
--- /dev/null
+++ b/LayoutTests/svg/filters/feComposite-operator-lighter.svg
@@ -0,0 +1,11 @@
+<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
+ <filter id="f" x="0" y="0" width="1" height="1" color-interpolation-filters="sRGB">
+ <feFlood flood-color="red"/>
+ <feComposite operator="lighter" in2="SourceGraphic"/>
+ </filter>
+ <linearGradient id="g2b" x1="0" x2="0" y1="0" y2="1">
+ <stop offset="0" stop-color="#0f0"/>
+ <stop offset="1" stop-color="#00f"/>
+ </linearGradient>
+ <rect width="200" height="200" fill="url(#g2b)" filter="url(#f)"/>
+</svg>
« no previous file with comments | « LayoutTests/svg/filters/feComposite.svg ('k') | LayoutTests/svg/filters/feComposite-operator-lighter-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698