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

Unified Diff: third_party/WebKit/LayoutTests/svg/filters/feDisplacementMap-negative-scale.html

Issue 2359133003: Fix effect mapping computation for displacement-map w/ negative scale (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/LayoutTests/svg/filters/feDisplacementMap-negative-scale.html
diff --git a/third_party/WebKit/LayoutTests/svg/filters/feDisplacementMap-negative-scale.html b/third_party/WebKit/LayoutTests/svg/filters/feDisplacementMap-negative-scale.html
new file mode 100644
index 0000000000000000000000000000000000000000..10f66b1f0a6c4f29ac0dd3f0b68965242a7f75ef
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/filters/feDisplacementMap-negative-scale.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<svg>
+ <filter id="displacementFilter" x="-0.2" y="-0.2" color-interpolation-filters="sRGB">
+ <feFlood flood-color="black"/>
+ <feDisplacementMap in="SourceGraphic" scale="-40" xChannelSelector="R" yChannelSelector="R"/>
+ </filter>
+ <rect x="20" y="20" width="100" height="100" fill="green" filter="url(#displacementFilter)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698