Full version, Basic version

Specification link: 7.10 Units

coords-trans-01-b ← index → coords-units-02-b

# coords-units-01-b
SVG Image | PNG Image
coords-units-01-b This test validates the processing rules for converting coordinates and length defined in fractions of the current object's bounding box to user space coordinates and length. Note that this test assumes that linear and radial gradients, as well as patterns are implemented. Bounding box relative coordinates (percentage and fraction) Percentage Fraction User Space Bounding box relative length (percentage and fraction) Percent. Fraction User Space Bounding box relative width/height (percentage and fraction) Percentage Fraction User Space $Revision: 1.5 $ |

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 rendered image should match the reference image. Also, the text may show minor differences, per CSS2 rules for font selection and matching.

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

coords-trans-01-b ← index → coords-units-02-b