Full version, Basic version

Specification link: 15.3 The 'filter' element

filters-example-01-b ← index → filters-gauss-01-b

# filters-felem-01-b
SVG Image | PNG Image
filters-felem-01-b Test which verifies null filters and filter regions. No filter Null filter Non-existant filter Null with small region filter $Revision: 1.13 $ |

Test which verifies null filters and filter regions.

Four subtests each consist of a small red circle overdrawn with a larger black circle. Filters are applied to three of the black circles, hiding them and showing the red circle. The correct rendering is a black circle at top left and red circles in the other three cases.

The topleft subtest has no filter applied to the black circle, so the black circle is visible and the red one is not. The top right subtest applies a filter to the black circle, but there is no corresponding filter element. Thus, a null filter is applied and the black circle is not shown, allowing the red circle to be seen.

The bottom left subtest applies an empty filter element with the default filterRegion, and the bottom right subtest applies an empty filter with a non-default filterRegion. In both cases where empty filters are applied, the result of the filter is a transparent black offscreen, thus showing the red circle underneath.

filters-example-01-b ← index → filters-gauss-01-b