struct-image-02-b

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

To test the 9 structure elements and their relationships. What you should be seeing is 4 equal sized squares. The upper left (S1) should be an image, the upper right (S2) should be a red square, the lower left (S3) a cyan square and the lower right (S4) a green square. 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 red 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 rendered picture should match the reference image, except for possible variations in the labelling text (per CSS2 rules).

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