Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

filters-conv-04-f.svg

raster image of filters-conv-04-f.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The test has passed if:

Test Description

Tests the 'bias' attribute on 'feConvolveMatrix'.

The test uses a raster image and a vector graphic to test the effect that the 'bias' attribute on 'feConvolveMatrix' has.

The first row of images in the test are four identical raster images. The first image is the original unfiltered image. The second has the filter kernel applied with no bias value specified. The third and fourth images both have a bias value specified for the filter.

The second row of images in the test are four rectangle objects with a gradient fill. The gradient fill transitions from opaque green to transparent green. The first image is the original unfiltered graphic. The second graphic has a filter kernel applied with no bias value specified. The third and forth images both have a bias value specified for the filter.

Behind each filter result there's a checkerboard pattern placed, to help verify that there's transparency in the lower row, but not in the upper.