Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.
|
Run the test. No interaction required.
The test has passed if:
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.