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

Unified Diff: LayoutTests/svg/filters/feSpecularLight-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/feSpecularLight-linearrgb-lighting-color.svg
diff --git a/LayoutTests/svg/filters/feSpecularLight-linearrgb-lighting-color.svg b/LayoutTests/svg/filters/feSpecularLight-linearrgb-lighting-color.svg
new file mode 100644
index 0000000000000000000000000000000000000000..2c68c7891864f0a9a1f96a08ecf18743fa62d167
--- /dev/null
+++ b/LayoutTests/svg/filters/feSpecularLight-linearrgb-lighting-color.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <filter id="sl-srgb" x="0" y="0" width="100" height="50"
+ filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+ <feSpecularLighting specularExponent="0" lighting-color="#0080ff">
+ <feDistantLight elevation="90"/>
+ </feSpecularLighting>
+ </filter>
+ <filter id="sl-linearrgb" x="0" y="0" width="100" height="50"
+ filterUnits="userSpaceOnUse" color-interpolation-filters="linearRGB">
+ <feSpecularLighting specularExponent="0" lighting-color="#0080ff">
+ <feDistantLight elevation="90"/>
+ </feSpecularLighting>
+ </filter>
+ <rect width="100" height="50" filter="url(#sl-srgb)"/>
+ <rect transform="translate(0 50)" width="100" height="50" filter="url(#sl-linearrgb)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698