raster image of struct-dom-06-b.png raster image of struct-dom-06-b.png

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.