struct-cond-03-t

raster image of struct-cond-03-t

Tests the <switch> element with requiredFeature.

Because SVG Tiny does not support DOM, an SVG Tiny implementation which does not support other SVG Profiles should show a green rectangle. If the application supports the DOM, meaning that it does more than just SVG Tiny, it should show an orange rectangle.

On the bottom half of the test, there is another switch. The first child has a requiredFeature set to http://www.w3.org/TR/SVG11/feature#BasicText which all SVG Tiny implementations should support. If the application does, another green rectangle is displayed. Otherwise, a red rectangle shows.