Specification link: 5.11 DOM interfaces

struct-dom-18-f ← index → struct-dom-20-f

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

# struct-dom-19-f.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test is passed if there is no red visible on the page.

## Test Description

Test that the 'SVGElementInstanceList' element's 'length' attribute correctly reflects the implied element hierarchy on recursive 'use' instances.

The test has a 'use' element referencing a 'g' element with another 'use' element referencing the 'use' element. The 'instanceRoot' of the most indirect 'use' element is used to access the corresponding 'SVGElementInstance'. The test passes if the 'childNodes' attribute's 'length' attribute for the most indirect 'SVGElementInstance' has a value of '1' and the 'childNodes' attribute's 'length' attribute for the most direct 'SVGElementInstance' has a value of '0'.

struct-dom-18-f ← index → struct-dom-20-f