Specification link: 13.2 Gradients

pservers-grad-16-b ← index → pservers-grad-18-b

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

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

## Operator Script

[[ Describe how to use the here. The instructions should specify any steps requied to run the test or any manual operation that need to be performed to run the test. ]]

## Pass Criteria

The left rectangle has four 'line' elements rotated in different ways. The stroke for the lines have a green solid stroke fallback which should be used if the gradient should be ignored. For this sub-test to pass there must be three lines with solid green stroke, and one line (from bottom left to top right) with a gradient stroke, visible in the rectangle.

The right rectangle is the same as the left rectangle except that the stroke paintservers don't have a fallback specified. For this sub-test to pass only the line from bottom left to top right must be visible in the rectangle, and it must have a gradient stroke.

## Test Description

This test has a gradient with gradientUnits='objectBoundingBox' which is a fade from black to white. The gradient is used for the stroke of a line. Vertical and horizontal lines don't have a boundingbox, since they are one-dimensional, even though the stroke-width makes it look like they should have a boundingbox with non-zero width and height. See the coordinate chapter, last paragraph of 7.11.

pservers-grad-16-b ← index → pservers-grad-18-b