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 FAIL text.getComputedTextLength() should be 4776. Was 5550.78125. | 7 FAIL text.getComputedTextLength() should be 4776. Was 5550.78125. |
8 FAIL text.getSubStringLength(0,1) should be 42. Was 1775.390625. | 8 FAIL text.getSubStringLength(0,1) should be 42. Was 1775.390625. |
9 FAIL text.getSubStringLength(0,2) should be 65. Was 3775.390625. | 9 FAIL text.getSubStringLength(0,2) should be 65. Was 3775.390625. |
10 FAIL text.getSubStringLength(1,1) should be 23. Was 2000. | 10 FAIL text.getSubStringLength(1,1) should be 23. Was 2000. |
(...skipping 10 matching lines...) Expand all Loading... |
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 FAIL text.getEndPositionOfChar(0).x should be 42. Was 1775.390625. | 22 FAIL text.getEndPositionOfChar(0).x should be 42. Was 1775.390625. |
23 FAIL text.getEndPositionOfChar(1).x should be 65. Was 3775.390625. | 23 FAIL text.getEndPositionOfChar(1).x should be 65. Was 3775.390625. |
24 FAIL text.getEndPositionOfChar(2).x should be 4776. Was 5550.78125. | 24 FAIL text.getEndPositionOfChar(2).x should be 4776. Was 5550.78125. |
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 |