Test which verifies the basic facilities of feColorMatrix.

This test uses the following elements : a nested <svg> with a viewBox attribute, <linearGradient>, <filter>, <feColorMatrix>, <feComposite>.

The test case shows five rectangles filled with a gradient showing the effects of feColorMatrix: an unfiltered rectangle acting as a reference, use of the feColorMatrix matrix option to convert to grayscale, use of the feColorMatrix saturate option, use of the feColorMatrix hueRotate option, and use of the feColorMatrix luminanceToAlpha option.

The test is somewhat self-explanatory as the strings document the type of feColorMatrix operation that is being used.

Run the test. No interaction required.

The rendered picture should match the reference image exactly, except for possible variations in the labelling text (per CSS2 rules).

$RCSfile: filters-color-01-b.svg,v $ Example feColorMatrix - Examples of feColorMatrix operations Five rectangles filled with a gradient showing the effects of feColorMatrix: an unfiltered rectangle acting as a reference, use of the feColorMatrix matrix option to convert to grayscale, use of the feColorMatrix saturate option, use of the feColorMatrix hueRotate option, and use of the feColorMatrix luminanceToAlpha option. Unfiltered type="matrix" (grayscale matrix) type="saturate" values=".4" type="hueRotate" values="90" type="luminanceToAlpha" $Revision: 1.6 $