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

Unified Diff: LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color.svg

Issue 134733016: Add support for converting Colors to linear RGB; Fix relevant filters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase; update TestExpectations 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/filters/feDiffuseLighting-linearrgb-lighting-color.svg
diff --git a/LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color.svg b/LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color.svg
new file mode 100644
index 0000000000000000000000000000000000000000..eaa200139a4ce5646433e6b8dd03d13fa0c3c73f
--- /dev/null
+++ b/LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <filter id="dl-srgb" x="0" y="0" width="100" height="50"
+ filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+ <feDiffuseLighting lighting-color="#008000">
+ <feDistantLight elevation="90"/>
+ </feDiffuseLighting>
+ </filter>
+ <filter id="dl-linearrgb" x="0" y="0" width="100" height="50"
+ filterUnits="userSpaceOnUse" color-interpolation-filters="linearRGB">
+ <feDiffuseLighting lighting-color="#008000">
+ <feDistantLight elevation="90"/>
+ </feDiffuseLighting>
+ </filter>
+ <rect width="100" height="50" filter="url(#dl-srgb)"/>
+ <rect transform="translate(0 50)" width="100" height="50" filter="url(#dl-linearrgb)"/>
+</svg>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/filters/feDiffuseLighting-linearrgb-lighting-color-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698