PNG file gradientPattern-linearGradient-BE-02, which shows the correct result as a raster image

Test that the viewer can handle the gradientUnits attribute on linear gradients. It tests the following values of gradientUnits : default (userSpace), objectBoundingBox, and userSpaceOnUse.

From top-down the appearance of objects is as follows.

The first rectangle uses the default attributes on the linearGradient element. Therefore the linear gradient should be fixed to the current viewport. It should appear from the left edge of the viewport (blue) to the right edge of the viewport (red). The rectangle is smaller than the viewport so it should only show a portion of the gradient.

The next rectangle uses gradientUnits=objectBoundingBox. The linear gradient should travel from blue (top) to red (bottom).

The last rectangle uses gradientUnits=userSpaceOnUse. The rectangle element is given it's own transformation and the gradient is assumed to be in this user space. The gradient should appear as a linear gradient from red (left) to blue (right).

The rendered picture should match the reference image exactly, except for possible variations in the labelling text (per CSS2 rules).