Full version, Basic version, Tiny version

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

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

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

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

The document's size is 480 by 360 with an x/y origin in (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. Changing the viewport size should have no effect on the placement or scale of the document's conten.

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

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.