Full version, Basic version

Specification link: 5.11 DOM interfaces

struct-dom-02-b ← index → struct-dom-04-b

# struct-dom-03-b
SVG Image | PNG Image

Verify the basic capability to handle the hasFeature DOMImplementation method. The DOMImplementation instance is retreived from the Document instance. Then, its hasFeature method is invoked on the various SVG feature strings.

The test displays the set of SVG feature strings and, next to them, a text string that shows whether the feature is supported or not.

Note that the test passes whether or not the feature is supported (i.e., true or false are valid). The test fails if no value (true or false) appears next to the feature string value.

Note that this test uses the 'onload' event on the root svg element.

The rendered picture should match the reference image, except for the yes and no values which may differ depending on the implementation.

struct-dom-02-b ← index → struct-dom-04-b

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.