| 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 FAIL text.getComputedTextLength() should be 4776. Was 5550. |
| 8 PASS text.getSubStringLength(0,1) is 42 | 8 FAIL text.getSubStringLength(0,1) should be 42. Was 1775. |
| 9 PASS text.getSubStringLength(0,2) is 42+23 | 9 FAIL text.getSubStringLength(0,2) should be 65. Was 3775. |
| 10 PASS text.getSubStringLength(1,1) is 23 | 10 FAIL text.getSubStringLength(1,1) should be 23. Was 2000. |
| 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 FAIL text.getSubStringLength(1, 3) should be 4734. Was 3775. |
| 13 PASS text.getSubStringLength(0, 4) is 4776 | 13 FAIL text.getSubStringLength(0, 4) should be 4776. Was 5550. |
| 14 PASS text.getSubStringLength(3, 0) threw exception IndexSizeError: Failed to exe
cute 'getSubStringLength' on 'SVGTextContentElement': The charnum provided (3) i
s greater than or equal to the maximum bound (3).. | 14 PASS text.getSubStringLength(3, 0) threw exception IndexSizeError: Failed to exe
cute 'getSubStringLength' on 'SVGTextContentElement': The charnum provided (3) i
s greater than or equal to the maximum bound (3).. |
| 15 PASS text.getSubStringLength(-17, 20) threw exception IndexSizeError: Failed to
execute 'getSubStringLength' on 'SVGTextContentElement': The charnum provided (4
294967279) is greater than the maximum bound (3).. | 15 PASS text.getSubStringLength(-17, 20) threw exception IndexSizeError: Failed to
execute 'getSubStringLength' on 'SVGTextContentElement': The charnum provided (4
294967279) is greater than the maximum bound (3).. |
| 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 FAIL text.getStartPositionOfChar(1).x should be 42. Was 1775. |
| 18 PASS text.getStartPositionOfChar(2).x is 42+23 | 18 FAIL text.getStartPositionOfChar(2).x should be 65. Was 3775. |
| 19 PASS text.getStartPositionOfChar(0).y is 4000 | 19 PASS text.getStartPositionOfChar(0).y is 4000 |
| 20 PASS text.getEndPositionOfChar(-1) threw exception IndexSizeError: Failed to exe
cute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (42
94967295) is greater than the maximum bound (3).. | 20 PASS text.getEndPositionOfChar(-1) threw exception IndexSizeError: Failed to exe
cute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (42
94967295) is greater than the maximum bound (3).. |
| 21 PASS text.getEndPositionOfChar(4) threw exception IndexSizeError: Failed to exec
ute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (4)
is greater than the maximum bound (3).. | 21 PASS text.getEndPositionOfChar(4) threw exception IndexSizeError: Failed to exec
ute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (4)
is greater than the maximum bound (3).. |
| 22 PASS text.getEndPositionOfChar(0).x is 42 | 22 FAIL text.getEndPositionOfChar(0).x should be 42. Was 1775. |
| 23 PASS text.getEndPositionOfChar(1).x is 42+23 | 23 FAIL text.getEndPositionOfChar(1).x should be 65. Was 3775. |
| 24 PASS text.getEndPositionOfChar(2).x is 42+23+4711 | 24 FAIL text.getEndPositionOfChar(2).x should be 4776. Was 5550. |
| 25 PASS text.getEndPositionOfChar(-17) threw exception IndexSizeError: Failed to ex
ecute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (4
294967279) is greater than the maximum bound (3).. | 25 PASS text.getEndPositionOfChar(-17) threw exception IndexSizeError: Failed to ex
ecute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (4
294967279) is greater than the maximum bound (3).. |
| 26 PASS text.getEndPositionOfChar(4) threw exception IndexSizeError: Failed to exec
ute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (4)
is greater than the maximum bound (3).. | 26 PASS text.getEndPositionOfChar(4) threw exception IndexSizeError: Failed to exec
ute 'getEndPositionOfChar' on 'SVGTextContentElement': The charnum provided (4)
is greater than the maximum bound (3).. |
| 27 PASS successfullyParsed is true | 27 PASS successfullyParsed is true |
| 28 | 28 |
| 29 TEST COMPLETE | 29 TEST COMPLETE |
| 30 | 30 |
| OLD | NEW |