blob: d1024c86c494c5a7c87899ac0577754ef845a2b7 [file] [log] [blame]
The Hitchhiker's Guide to the Galaxy has a few things to say on the subject of resumés. A resumé, it says, is about the most massively useful thing an interstellar hitch hiker can have.
Tests that we can compute the bounds of a range of text from the accessibility tree.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS text.length is 185
Accessible text: "The Hitchhiker's Guide to the Galaxy has a few things to say on the subject of resumés. A resumé, it says, is about the most massively useful thing an interstellar hitch hiker can have."
PASS appendedInlineText is text
Testing bounds of word: The
PASS axBounds.x is within 1 of 8
PASS axBounds.y is within 1 of 8
PASS axBounds.width is within 1 of 23
PASS axBounds.height is within 1 of 19
Testing bounds of word: Hitchhiker
PASS axBounds.x is within 1 of 35
PASS axBounds.y is within 1 of 8
PASS axBounds.width is within 1 of 62
PASS axBounds.height is within 1 of 19
Testing bounds of word: Guide
PASS axBounds.x is within 1 of 110
PASS axBounds.y is within 1 of 8
PASS axBounds.width is within 1 of 36
PASS axBounds.height is within 1 of 19
Testing bounds of word: interstellar
PASS axBounds.x is within 1 of 8
PASS axBounds.y is within 1 of 48
PASS axBounds.width is within 1 of 61
PASS axBounds.height is within 1 of 19
PASS successfullyParsed is true
TEST COMPLETE