Full version, Basic version, Tiny version

Specification link: 5.8 Conditional processing

struct-cond-02-t ← index → struct-defs-01-t

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

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 a red 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.

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