| OLD | NEW |
| 1 This test checks the SVGPoint API | 1 This test checks the SVGPoint API |
| 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 | 6 |
| 7 Check initial point values | 7 Check initial point values |
| 8 PASS point.x is 0 | 8 PASS point.x is 0 |
| 9 PASS point.y is 0 | 9 PASS point.y is 0 |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 PASS point.y is 0 | 21 PASS point.y is 0 |
| 22 | 22 |
| 23 Reset to -50, 100 | 23 Reset to -50, 100 |
| 24 | 24 |
| 25 Check 'matrixTransform' method - multiply with -1,0,0,2,10,10 matrix, should fli
p x coordinate, multiply y by two and translate each coordinate by 10 | 25 Check 'matrixTransform' method - multiply with -1,0,0,2,10,10 matrix, should fli
p x coordinate, multiply y by two and translate each coordinate by 10 |
| 26 PASS (newPoint = point.matrixTransform(ctm)).toString() is "[object SVGPoint]" | 26 PASS (newPoint = point.matrixTransform(ctm)).toString() is "[object SVGPoint]" |
| 27 PASS newPoint.x is 60 | 27 PASS newPoint.x is 60 |
| 28 PASS newPoint.y is 210 | 28 PASS newPoint.y is 210 |
| 29 | 29 |
| 30 Check invalid arguments for 'matrixTransform' | 30 Check invalid arguments for 'matrixTransform' |
| 31 PASS point.matrixTransform() threw exception TypeError: Not enough arguments. | 31 PASS point.matrixTransform() threw exception TypeError: Failed to execute 'matri
xTransform' on 'SVGPoint': 1 argument required, but only 0 present.. |
| 32 PASS point.matrixTransform(-1) threw exception TypeError: Type error. | 32 PASS point.matrixTransform(-1) threw exception TypeError: Type error. |
| 33 PASS point.matrixTransform(5) threw exception TypeError: Type error. | 33 PASS point.matrixTransform(5) threw exception TypeError: Type error. |
| 34 PASS point.matrixTransform('aString') threw exception TypeError: Type error. | 34 PASS point.matrixTransform('aString') threw exception TypeError: Type error. |
| 35 PASS point.matrixTransform(point) threw exception TypeError: Type error. | 35 PASS point.matrixTransform(point) threw exception TypeError: Type error. |
| 36 PASS point.matrixTransform(svgElement) threw exception TypeError: Type error. | 36 PASS point.matrixTransform(svgElement) threw exception TypeError: Type error. |
| 37 PASS successfullyParsed is true | 37 PASS successfullyParsed is true |
| 38 | 38 |
| 39 TEST COMPLETE | 39 TEST COMPLETE |
| 40 | 40 |
| OLD | NEW |