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



raster image of struct-image-02-b.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The test is passed if the upper left rectangle shows an image, the upper right a blue rectangle, the lower left a cyan rectangle and the lower right a green rectangle.

Test Description

To test the 9 structure elements and their relationships.

S1 tests the defs element and the rendering of an image via the use element. S2 tests the defs element and the use element by creating an svg element that contains a blue rectangle. S3 tests the nesting of an SVG element, a separate graphics element is defined, its coords relative to the svg element. S4 tests a switch statement, if there is not a green rectangle showing in S4 there is probably a problem processing a switch.

The test uses the 'rect' element, as well as basic fill (solid primary colors), stroke (black 1-pixel lines), font-family and font-size properties.