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

coords-units-01-b.svg

FAIL

raster image of units-01-b.png raster image of units-01-b.png raster image of units-01-b.png

Operator Script

Run the test. No interaction required.

Pass Criteria

The rendered image should match the reference image. Also, the text may show minor differences, per CSS2 rules for font selection and matching.

Test Description

Verify the conversion processing of percentage and fraction values relative to object bounding boxes. This is used when defining linear and radial gradients as well as patterns.

The test validates conversion for coordinates, width, height and length. The first test defines three corresponding linear gradients, which specify coordinates using percentages for one, fractions for the second and user coordinates for the third. The second test defines three corresponding radial gradients, which specify a length (radius) using percentages for the first, fractions for the second and user space for the third. Finally, the third test defines three corresponding patterns, which specify their width and height using percentages for the first, fractions for the second and user space coordinates for the last one.

The test also assumes that linear and radial gradients, as well as patterns are implemented.