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

types-dom-svglengthlist-01-f.svg

SVG Image

PNG Image

FAIL

Operator Script

Retrieve a 'SVGLengthList' object by getting the 'baseVal' attribute from the 'x' 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 'SVGLengthList' interface raise the 'INDEX_SIZE_ERR' exception when the specified
index number is greater than the number of items in the list.