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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-negative-scale-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-negative-scale.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-negative-scale.html b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-negative-scale.html
new file mode 100644
index 0000000000000000000000000000000000000000..31c04772850c768c06f4a8665a77881a7d286595
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-negative-scale.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<div style="position: relative">
+ <div style="position: absolute; top: 20px; left: 20px; width: 100px; height: 100px; background: green; filter: url(#displacementFilter);"></div>
+</div>
+<svg width="0" height="0">
+ <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>
+</svg>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/filters/effect-reference-displacement-negative-scale-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698