Specification link: 13.2 Gradients

pservers-grad-07-b ← index → pservers-grad-09-b

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

# pservers-grad-08-b.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test passes if the rendering matches the reference image, apart from any differences in font choice due to CSS2 rules. Specifically:

- The text string "Gradient on fill" must be filled with a gradient from blue on the left to lime on the right.
- The text string "Gradient on stroke" must be unfilled and stroked with a gradient from blue on the left to lime on the right.

## Test Description

Test that the viewer has basic capability to handle linear gradients on fills and stroke of text.

Both elements in this test use the same simple gradient. It is a linear gradient from blue (left) to lime (right). From top-down the appearance of objects is as follows.

The first item is a text string "Gradient on fill" with the gradient on the fill of the text.

The second item is a text string that is not filled. It has a 2 user unit stroke on which the gradient is applied.

pservers-grad-07-b ← index → pservers-grad-09-b