Specification link: 5.1 Defining an SVG document fragment: the 'svg' element

struct-frag-03-t ← index → struct-frag-05-t

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

# struct-frag-04-t.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required. If the test is run outside of the harness, the operator may resize the viewport.

## Pass Criteria

The rendered picture should match the reference image. Changing the viewport size should have no effect on the placement or scale of the document's content.

## Test Description

This test validates the operation of the svg element when there is no viewbox.

The document has x/y attributes set to (1000, 1000). Because x/y are ignored on the root svg element, the x/y origin should have no effect on the drawing.

The document contains squares and circles between the (100,100) and (200, 200) coordinates.

struct-frag-03-t ← index → struct-frag-05-t