| OLD | NEW |
| 1 Acid3 test 77, checking text metric functionality | 1 Acid3 test 77, checking text metric functionality |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS text.getNumberOfChars() is 3 | 6 PASS text.getNumberOfChars() is 3 |
| 7 PASS text.getComputedTextLength() is 4711+42+23 | 7 PASS text.getComputedTextLength() is 4711+42+23 |
| 8 PASS text.getSubStringLength(0,1) is 42 | 8 PASS text.getSubStringLength(0,1) is 42 |
| 9 PASS text.getSubStringLength(0,2) is 42+23 | 9 PASS text.getSubStringLength(0,2) is 42+23 |
| 10 PASS text.getSubStringLength(1,1) is 23 | 10 PASS text.getSubStringLength(1,1) is 23 |
| 11 PASS text.getSubStringLength(1,0) is 0 | 11 PASS text.getSubStringLength(1,0) is 0 |
| 12 PASS text.getSubStringLength(1, 3) is 4734 | 12 PASS text.getSubStringLength(1, 3) is 4734 |
| 13 PASS text.getSubStringLength(0, 4) is 4776 | 13 PASS text.getSubStringLength(0, 4) is 4776 |
| 14 PASS text.getSubStringLength(3, 0) threw exception Error: IndexSizeError: DOM Ex
ception 1. | 14 PASS text.getSubStringLength(3, 0) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 15 PASS text.getSubStringLength(-17, 20) threw exception Error: IndexSizeError: DOM
Exception 1. | 15 PASS text.getSubStringLength(-17, 20) threw exception IndexSizeError: Index or s
ize was negative, or greater than the allowed value.. |
| 16 PASS text.getStartPositionOfChar(0).x is 0 | 16 PASS text.getStartPositionOfChar(0).x is 0 |
| 17 PASS text.getStartPositionOfChar(1).x is 42 | 17 PASS text.getStartPositionOfChar(1).x is 42 |
| 18 PASS text.getStartPositionOfChar(2).x is 42+23 | 18 PASS text.getStartPositionOfChar(2).x is 42+23 |
| 19 PASS text.getStartPositionOfChar(0).y is 4000 | 19 PASS text.getStartPositionOfChar(0).y is 4000 |
| 20 PASS text.getEndPositionOfChar(-1) threw exception Error: IndexSizeError: DOM Ex
ception 1. | 20 PASS text.getEndPositionOfChar(-1) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 21 PASS text.getEndPositionOfChar(4) threw exception Error: IndexSizeError: DOM Exc
eption 1. | 21 PASS text.getEndPositionOfChar(4) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 22 PASS text.getEndPositionOfChar(0).x is 42 | 22 PASS text.getEndPositionOfChar(0).x is 42 |
| 23 PASS text.getEndPositionOfChar(1).x is 42+23 | 23 PASS text.getEndPositionOfChar(1).x is 42+23 |
| 24 PASS text.getEndPositionOfChar(2).x is 42+23+4711 | 24 PASS text.getEndPositionOfChar(2).x is 42+23+4711 |
| 25 PASS text.getEndPositionOfChar(-17) threw exception Error: IndexSizeError: DOM E
xception 1. | 25 PASS text.getEndPositionOfChar(-17) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. |
| 26 PASS text.getEndPositionOfChar(4) threw exception Error: IndexSizeError: DOM Exc
eption 1. | 26 PASS text.getEndPositionOfChar(4) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
| 28 | 28 |
| 29 TEST COMPLETE | 29 TEST COMPLETE |
| 30 | 30 |
| OLD | NEW |