Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

struct-dom-03-b.svg

FAIL

raster image of struct-dom-03-b.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

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

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.

Test Description

Verify the basic capability to handle the hasFeature DOMImplementation method. The DOMImplementation instance is retrieved 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 this test uses the 'onload' event on the root svg element.