Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: layout/reftests/svg/filters/reftest.list
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Testcase for feDisplacementMap processing in1 with linearRGB colours</title>
<defs>
<filter id="sponge">
<feTurbulence baseFrequency="0.1" type="fractalNoise" result="result1"/>
<feDisplacementMap id="feDisplacementMap" in2="result1" xChannelSelector="G" yChannelSelector="G" scale="50" in="SourceGraphic"/>
</filter>
</defs>
<!-- we can't use our usual lime here as that's the same colour in both colour spaces -->
<rect width="100%" height="100%" fill="#ea2"/>
<rect stroke="none" style="filter:url(#sponge)" x="50" y="50" width="100" height="100" fill="#ea2" />
</svg>