Specification link: 13.2 Gradients

pservers-grad-24-f ← index → pservers-pattern-01-b

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

# pservers-grad-stops-01-f.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test passed if there are four blue boxes on the page.

## Test Description

Test that gradient offset values less than zero are rounded up to zero and values more than one are rounded down to one.

The test defines four gradients, each with a single stop where the 'stop-color' is set to 'blue'. The four gradients have 'offset' set to '-1', '-1%', '101%' and '2'. Four rectangles reference the gradients. All of these should render as if they have plain blue fills.

pservers-grad-24-f ← index → pservers-pattern-01-b