blob: 6c8b1cb34e9e74467194fc3c1c9c446359d6ea19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg">
<title>Testcase for feDisplacementMap processing in1 with linearRGB colours</title>
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=603584 -->
<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>
|