Specification link: 14.3 Clipping paths

masking-path-01-b ← index → masking-path-03-b

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

# masking-path-02-b.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test passes if the pink rectangle and blue diamond do not have any color painted outside of their black borders.

## 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 pink 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).

masking-path-01-b ← index → masking-path-03-b