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