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

struct-frag-02-t.svg

raster image of struct-frag-02-t.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

Because preserveAspectRatio is set to 'none', the content should appear distorted (if the aspect ratio is not 1): squares show as rectangles and circles show as ellipses.

Test Description

This test validates the use of the preserveAspectRatio attribute on the root svg element in an SVG Tiny document. In this document, preserveAspectRatio is set to none and the width and height of the document set to 100%.

The document's viewBox is defined to be 100 by 100 with an origin in (100, 100). The content is made of 2 red squares and 2 orange circles.