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 FAIL text.getComputedTextLength() should be 4780. Was 4768. FAIL text.getSubStringLength(0,1) should be 44. Was 40. FAIL text.getSubStringLength(0,2) should be 68. Was 60. FAIL text.getSubStringLength(1,1) should be 24. Was 20. PASS text.getSubStringLength(1,0) is 0 FAIL text.getSubStringLength(1, 3) should be 4736. Was 4728. FAIL text.getSubStringLength(0, 4) should be 4780. Was 4768. PASS text.getSubStringLength(3, 0) threw exception IndexSizeError (DOM Exception 1): The index is not in the allowed range.. PASS text.getSubStringLength(-17, 20) threw exception IndexSizeError (DOM Exception 1): The index is not in the allowed range.. PASS text.getStartPositionOfChar(0).x is 0 FAIL text.getStartPositionOfChar(1).x should be 44. Was 40. FAIL text.getStartPositionOfChar(2).x should be 68. Was 60. PASS text.getStartPositionOfChar(0).y is 4000 PASS text.getEndPositionOfChar(-1) threw exception IndexSizeError (DOM Exception 1): The index is not in the allowed range.. PASS text.getEndPositionOfChar(4) threw exception IndexSizeError (DOM Exception 1): The index is not in the allowed range.. FAIL text.getEndPositionOfChar(0).x should be 44. Was 40. FAIL text.getEndPositionOfChar(1).x should be 68. Was 60. FAIL text.getEndPositionOfChar(2).x should be 4780. Was 4768. PASS text.getEndPositionOfChar(-17) threw exception IndexSizeError (DOM Exception 1): The index is not in the allowed range.. PASS text.getEndPositionOfChar(4) threw exception IndexSizeError (DOM Exception 1): The index is not in the allowed range.. PASS successfullyParsed is true TEST COMPLETE