struct-cond-209-t

FAIL

raster image of struct-cond-209-t

This test evaluates the effects of the 'display' or 'visibility' attributes on a switch statement. The result should be a green circle in the center of the output window.

The rendered picture should match the reference image, except for possible variations in the labelling text (per CSS2 rules). The pass condition is seeing a green circle in the center of the image. If a gray rectangle is visible, the test cannot be evaluated because the 'display' attribute is not supported. If a blue rectangle is visible, the test cannot be evaluated because the 'visibility' attribute is not supported. If a red rectangle with a gray stroke is visible, the test is failed because the switch is affected by the 'display' attribute. If a red rectangle with a black stroke is visible, the test is failed because the switch is affected by the 'display' attribute.

The test uses the 'rect' and 'circle' elements, as well as basic fill (solid primary colors), stroke (black or gray 2-pixel lines), and the 'display' and 'visibility' attributes.