Full version, Basic version

Specification link: 5.11 DOM interfaces

struct-dom-05-b ← index → struct-group-02-b

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

Verify the basic capability to handle the DOM API. The test is composed of a top level svg element with an onload event handler. This handler invokes core (i.e., non SVG specific) DOM API methods to modify the document's content: it removes an element, modifies an attribute and adds elements.

If an implementation supports the ECMA Script DOM binding, then the image should show the following text: "The DOM API is supported". Otherwise, the following will show: "Removing DOM elements is not supported", and the background will be red.

The rendered picture should match the reference image.

struct-dom-05-b ← index → struct-group-02-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.