Full version, Basic version, Tiny version

Specification link: 5.8 Conditional processing

shapes-rect-02-t ← index → struct-cond-02-t

# struct-cond-01-t
SVG Image | PNG Image

This test evaluates a switch statement. The result should be a green rectangle in the lower left quarter of the output window.

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.

shapes-rect-02-t ← index → struct-cond-02-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.