Specification link: 4.3 Basic DOM interfaces

types-dom-svglengthlist-01-f ← index → types-dom-svgstringlist-01-f

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

# types-dom-svgnumberlist-01-f.svg
SVG Image | PNG Image

## Operator Script

Retrieve a 'SVGNumberList' object by getting the 'baseVal' attribute from the 'rotate' object of a 'SVGTextElement'. Attempt to call 'getItem', 'replaceItem', and 'removeItem' with an index larger than the number of items in the list. For each of these operations, verify there was an exception of type 'INDEX_SIZE_ERR' thrown.

## Pass Criteria

Test passes if there is no red visible on the page.

## Test Description

The 'getItem', 'replaceItem', and 'removeItem' operations of the 'SVGNumberList' interface raise the 'INDEX_SIZE_ERR' exception when the specified index number is greater than the number of items in the list.

types-dom-svglengthlist-01-f ← index → types-dom-svgstringlist-01-f