Specification link: 5.7 The 'image' element

struct-image-05-b ← index → struct-image-07-t

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

# struct-image-06-t.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test shows four smiley images: the leftmost one is the reference, and the three on the right are the three sub-tests. The test is passed if the following conditions are met:

- The image in the first sub-test is shown within the blue rectangle, its aspect ratio preserved and with white bars between the blue rectangle and the left and right edges of the image.
- The image in the second sub-test is shown within the blue rectangle, its aspect ratio preserved and with white bars between the blue rectangle and the top and bottom edges of the image.
- The image in the third sub-test is shown stretched, having the same size as the blue rectangle shown on the left of the test slide underneath the text "Viewport 2".

## Test Description

Check that all the preserveAspectRatio values are supported for the <image> element. In particular, check that values which are not supported on the svg element's preserveAspectRatio are supported for <image>.

struct-image-05-b ← index → struct-image-07-t