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

masking-path-02-b.svg

raster image of masking-path-02-b.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

Only the bottom-right portion of the top red rectangle should be visible. Only the bottom-right portion of the bottom rectangle should be visible.

Test Description

Test to see if clipPathUnits attribute is handled properly on a clipPath element. Only tests the userSpaceOnUse and objectBoundingBox items of the clipPathUnits. userSpace has been tested by the previous test as it is the default.

The test at the top shows a red rectangle that has been clipped by a rectangular clipping path. The clipping path is defined using clipPathUnits=objectBoundingBox.

The example at the bottom a rotated blue rectangle that has been clipped by a rectangular clipping path. The clipping path is defined using clipPathUnits=userSpaceOnUse.

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