Test name:masking-path-01-b
raster of masking-path-01-b

Test to see if the basic clipping works using the clipPath element and the clip-path property.

This test uses the following elements : <clipPath> and the following properties : clip-path.

The test at the top shows a red rectangle (with black stroke) being clipped by another rectangle. So only the middle portion of the red rectangle should be visible. Also the black stroke should only be visible along the top and bottom edge of the rectangle.

The example at the bottom has a group containing a text string and two rectangles. The group has a clipping path defined using two slightly overlapping circles. Of concern is the overlapping area of the circle. There should not be holes in this overlapping area.

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