Specification link: 13.3 Patterns

pservers-pattern-02-f ← index → render-elems-01-t

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

# pservers-pattern-04-f.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test is passed if there are four green circles visible on the page, and no red.

## Test Description

Inherited attributes from a referenced 'pattern' are not applied if they are already defined on the referencing 'pattern' element.

Define a pattern 'pattern1' with circles that have red fill. Inherit 'pattern1' into 'pattern2' and add circles at different 'y' attribute and with 'fill' set to 'lime' on 'pattern2'. Reference 'pattern1' from a square using 'fill' attribute. Reference 'pattern2' from a different square using 'fill' attribute. Position the second square directly over the first square. Verify that there is green visible.

pservers-pattern-02-f ← index → render-elems-01-t