Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/filters/feComponentTransfer-04.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Testcase for feComponentTransfer with single discrete value</title>
<defs>
<filter id="f1" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox"
x="0" y="0" width="100%" height="100%">
<feComponentTransfer x="0" y="0" width="100%" height="100%"
in="SourceAlpha" style="color-interpolation-filters:sRGB">
<feFuncG type="discrete" tableValues="1" />
</feComponentTransfer>
</filter>
</defs>
<rect x="0" y="0" width="100%" height="100%" fill="red" filter="url(#f1)"/>
</svg>