Acid3 test 77, checking text metric functionality

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS text.getNumberOfChars() is 3
PASS text.getComputedTextLength() is 4711+42+23
PASS text.getSubStringLength(0,1) is 42
PASS text.getSubStringLength(0,2) is 42+23
PASS text.getSubStringLength(1,1) is 23
PASS text.getSubStringLength(1,0) is 0
PASS text.getSubStringLength(1, 3) is 4734
PASS text.getSubStringLength(0, 4) is 4776
PASS text.getSubStringLength(3, 0) threw exception Error: IndexSizeError: DOM Exception 1.
PASS text.getSubStringLength(-17, 20) threw exception Error: IndexSizeError: DOM Exception 1.
PASS text.getStartPositionOfChar(0).x is 0
PASS text.getStartPositionOfChar(1).x is 42
PASS text.getStartPositionOfChar(2).x is 42+23
PASS text.getStartPositionOfChar(0).y is 4000
PASS text.getEndPositionOfChar(-1) threw exception Error: IndexSizeError: DOM Exception 1.
PASS text.getEndPositionOfChar(4) threw exception Error: IndexSizeError: DOM Exception 1.
PASS text.getEndPositionOfChar(0).x is 42
PASS text.getEndPositionOfChar(1).x is 42+23
PASS text.getEndPositionOfChar(2).x is 42+23+4711
PASS text.getEndPositionOfChar(-17) threw exception Error: IndexSizeError: DOM Exception 1.
PASS text.getEndPositionOfChar(4) threw exception Error: IndexSizeError: DOM Exception 1.
PASS successfullyParsed is true

TEST COMPLETE

