зеркало из https://github.com/mozilla/gecko-dev.git
23 строки
999 B
XML
23 строки
999 B
XML
<!--
|
|
Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/licenses/publicdomain/
|
|
-->
|
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.0">
|
|
<desc>
|
|
This test checks that the implicit offscreen surface scaling implied by
|
|
a high 'filterRes' interacts correctly with other transforms. Specifically
|
|
you should see only green if the red filtered circle paints only on
|
|
the pixels that it should paint on.
|
|
</desc>
|
|
<filter id="filter" x="0" y="0" width="1" height="1" filterRes="50 50">
|
|
<feGaussianBlur stdDeviation="0.001"/>
|
|
</filter>
|
|
<rect width="100%" height="100%" fill="lime"/>
|
|
<g transform="translate(50, 0)">
|
|
<!-- The filterRes is quartered, so we need r to be 5 pixels less, plus
|
|
one less for antialiasing, otherwise the circle will get fringe effects. -->
|
|
<circle fill="red" cx="100" cy="100" r="94" transform="translate(50, 0)" filter="url(#filter)"/>
|
|
</g>
|
|
<circle fill="lime" cx="200" cy="100" r="100"/>
|
|
</svg>
|