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

Side by Side Diff: LayoutTests/svg/filters/feComponentTransfer-subregion.svg

Issue 112053007: Compute source/destination rectangles in FEComponentTransfer::applySkia (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k">
2 <defs>
3 <filter id="f1" filterUnits="userSpaceOnUse" x="0" y="0" width="200" height= "200">
4 <feFlood flood-color="red" result="red" x="50" y="50" width="100" height=" 100"/>
5 <feImage xlink:href="#rect"/>
6 <feComponentTransfer x="50" y="50" width="100" height="100">
7 <feFuncG type="linear" slope="0" intercept="1"/>
8 </feComponentTransfer>
9 <feComposite operator="over" in2="red"/>
10 </filter>
11
12 <rect id="rect" x="50" y="50" width="100" height="100" fill="black"/>
13 </defs>
14 <text x="10" y="20">There should be a lime rectangle below, and no red.</text>
15 <g filter="url(#f1)"/>
16 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698