Specification link: 3.4 How groups are rendered

render-elems-08-t ← index → render-groups-03-t

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

# render-groups-01-b.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

The rendered image should match the reference image exactly.

## Pass Criteria

This test renders 3 elements: a text string "SVG", then a shape, then an image. Because of their definition order and coordinates, the image should be on top of the rectangle and the rectangle on top of the text. The test validates that groups are conceptually rendered offscreen before being rendered on the canvas. This is done by grouping the same overlapping objects and rendering the group at half opacity. The background pattern (vertical stripes) should show through all the group elements. However, none of the "SVG" text string should show through the rectangle and none of the rectangle should show through the image.

## Test Description

Verifies implicit rendering order (paragraph 3.3) and grouping mechanism (paragraphs 3.4). It also validates basic Shape, Image and text rendering.

render-elems-08-t ← index → render-groups-03-t