20 lines
584 B
HTML
20 lines
584 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<body>
|
|
<p>Test for isolation caused by a filter. This test passes if the whole rectangle is green.</p>
|
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px" >
|
|
<defs>
|
|
<filter id="f1" x="0" y="0">
|
|
<feGaussianBlur in="SourceGraphic" stdDeviation="15" />
|
|
</filter>
|
|
</defs>
|
|
<g transform="scale(4 4)">
|
|
<rect x="0" y="0" width="40" height="40" fill="rgb(0,255,0)"/>
|
|
<g filter="url(#f1)">
|
|
<rect x="10" y="10" width="20" height="20" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
</body>
|
|
</html>
|