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-units-01-f
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
Scalable Vector Graphics (SVG) v1.1 Conformance Suite
Copyright 2002 W3C. All Rights Reserved.
coords-units-01-f
$Revision: 1.1 $
Release 1.0