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

paths-dom-01-f.svg

FAIL

raster image of paths-dom-01-f.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The test has passed if:

Test Description

Test the getTotalLength, getPointAtLength and getPathSegAtLength DOM methods.

The left green rect should have text around it. The text should start at 50 user units distance-along-the-path, which is the same as half the rect width. The right green rect should also have text around it, but the text should start 50 units along the path relative to the provided pathLength. Since 50 is half of the provided pathLength the text will start at the lower right-hand corner, and if the text is too long to fit it will be cut off when reaching the upper left corner of the rect.