| OLD | NEW |
| 1 This test checks the SVGTransform API | 1 This test checks the SVGTransform 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 transform values | 7 Check initial transform values |
| 8 PASS transform.type is SVGTransform.SVG_TRANSFORM_MATRIX | 8 PASS transform.type is SVGTransform.SVG_TRANSFORM_MATRIX |
| 9 PASS transform.angle is 0 | 9 PASS transform.angle is 0 |
| 10 PASS transform.matrix.a is 1 | 10 PASS transform.matrix.a is 1 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 PASS transform.type is SVGTransform.SVG_TRANSFORM_MATRIX | 42 PASS transform.type is SVGTransform.SVG_TRANSFORM_MATRIX |
| 43 PASS transform.angle is 0 | 43 PASS transform.angle is 0 |
| 44 PASS transform.matrix.a is 1 | 44 PASS transform.matrix.a is 1 |
| 45 PASS transform.matrix.b is 0 | 45 PASS transform.matrix.b is 0 |
| 46 PASS transform.matrix.c is 0 | 46 PASS transform.matrix.c is 0 |
| 47 PASS transform.matrix.d is 1 | 47 PASS transform.matrix.d is 1 |
| 48 PASS transform.matrix.e is 0 | 48 PASS transform.matrix.e is 0 |
| 49 PASS transform.matrix.f is 0 | 49 PASS transform.matrix.f is 0 |
| 50 | 50 |
| 51 Check passing invalid arguments to 'setMatrix' | 51 Check passing invalid arguments to 'setMatrix' |
| 52 PASS transform.setMatrix() threw exception TypeError: Not enough arguments. | 52 PASS transform.setMatrix() threw exception TypeError: Failed to execute 'setMatr
ix' on 'SVGTransform': 1 argument required, but only 0 present.. |
| 53 PASS transform.setMatrix(transform) threw exception TypeError: Type error. | 53 PASS transform.setMatrix(transform) threw exception TypeError: Type error. |
| 54 PASS transform.setMatrix(svgElement) threw exception TypeError: Type error. | 54 PASS transform.setMatrix(svgElement) threw exception TypeError: Type error. |
| 55 PASS transform.setMatrix('aString') threw exception TypeError: Type error. | 55 PASS transform.setMatrix('aString') threw exception TypeError: Type error. |
| 56 PASS transform.setMatrix(1) threw exception TypeError: Type error. | 56 PASS transform.setMatrix(1) threw exception TypeError: Type error. |
| 57 PASS transform.setMatrix(false) threw exception TypeError: Type error. | 57 PASS transform.setMatrix(false) threw exception TypeError: Type error. |
| 58 | 58 |
| 59 Check passing invalid arguments to 'setTranslate' | 59 Check passing invalid arguments to 'setTranslate' |
| 60 PASS transform.setTranslate() threw exception TypeError: Not enough arguments. | 60 PASS transform.setTranslate() threw exception TypeError: Failed to execute 'setT
ranslate' on 'SVGTransform': 2 arguments required, but only 0 present.. |
| 61 PASS transform.setTranslate(transform) threw exception TypeError: Not enough arg
uments. | 61 PASS transform.setTranslate(transform) threw exception TypeError: Failed to exec
ute 'setTranslate' on 'SVGTransform': 2 arguments required, but only 1 present.. |
| 62 PASS transform.setTranslate(svgElement) threw exception TypeError: Not enough ar
guments. | 62 PASS transform.setTranslate(svgElement) threw exception TypeError: Failed to exe
cute 'setTranslate' on 'SVGTransform': 2 arguments required, but only 1 present.
. |
| 63 PASS transform.setTranslate('aString') threw exception TypeError: Not enough arg
uments. | 63 PASS transform.setTranslate('aString') threw exception TypeError: Failed to exec
ute 'setTranslate' on 'SVGTransform': 2 arguments required, but only 1 present.. |
| 64 PASS transform.setTranslate(1, transform) is undefined. | 64 PASS transform.setTranslate(1, transform) is undefined. |
| 65 PASS transform.setTranslate(1, svgElement) is undefined. | 65 PASS transform.setTranslate(1, svgElement) is undefined. |
| 66 PASS transform.setTranslate(1, 'aString') is undefined. | 66 PASS transform.setTranslate(1, 'aString') is undefined. |
| 67 PASS transform.setTranslate(transform, 1) is undefined. | 67 PASS transform.setTranslate(transform, 1) is undefined. |
| 68 PASS transform.setTranslate(svgElement, 1) is undefined. | 68 PASS transform.setTranslate(svgElement, 1) is undefined. |
| 69 PASS transform.setTranslate('aString', 1) is undefined. | 69 PASS transform.setTranslate('aString', 1) is undefined. |
| 70 PASS transform.setTranslate(transform, transform) is undefined. | 70 PASS transform.setTranslate(transform, transform) is undefined. |
| 71 PASS transform.setTranslate(svgElement, svgElement) is undefined. | 71 PASS transform.setTranslate(svgElement, svgElement) is undefined. |
| 72 PASS transform.setTranslate('aString', 'aString') is undefined. | 72 PASS transform.setTranslate('aString', 'aString') is undefined. |
| 73 | 73 |
| 74 Check passing invalid arguments to 'setScale' | 74 Check passing invalid arguments to 'setScale' |
| 75 PASS transform.setScale() threw exception TypeError: Not enough arguments. | 75 PASS transform.setScale() threw exception TypeError: Failed to execute 'setScale
' on 'SVGTransform': 2 arguments required, but only 0 present.. |
| 76 PASS transform.setScale(transform) threw exception TypeError: Not enough argumen
ts. | 76 PASS transform.setScale(transform) threw exception TypeError: Failed to execute
'setScale' on 'SVGTransform': 2 arguments required, but only 1 present.. |
| 77 PASS transform.setScale(svgElement) threw exception TypeError: Not enough argume
nts. | 77 PASS transform.setScale(svgElement) threw exception TypeError: Failed to execute
'setScale' on 'SVGTransform': 2 arguments required, but only 1 present.. |
| 78 PASS transform.setScale('aString') threw exception TypeError: Not enough argumen
ts. | 78 PASS transform.setScale('aString') threw exception TypeError: Failed to execute
'setScale' on 'SVGTransform': 2 arguments required, but only 1 present.. |
| 79 PASS transform.setScale(1, transform) is undefined. | 79 PASS transform.setScale(1, transform) is undefined. |
| 80 PASS transform.setScale(1, svgElement) is undefined. | 80 PASS transform.setScale(1, svgElement) is undefined. |
| 81 PASS transform.setScale(1, 'aString') is undefined. | 81 PASS transform.setScale(1, 'aString') is undefined. |
| 82 PASS transform.setScale(transform, 1) is undefined. | 82 PASS transform.setScale(transform, 1) is undefined. |
| 83 PASS transform.setScale(svgElement, 1) is undefined. | 83 PASS transform.setScale(svgElement, 1) is undefined. |
| 84 PASS transform.setScale('aString', 1) is undefined. | 84 PASS transform.setScale('aString', 1) is undefined. |
| 85 PASS transform.setScale(transform, transform) is undefined. | 85 PASS transform.setScale(transform, transform) is undefined. |
| 86 PASS transform.setScale(svgElement, svgElement) is undefined. | 86 PASS transform.setScale(svgElement, svgElement) is undefined. |
| 87 PASS transform.setScale('aString', 'aString') is undefined. | 87 PASS transform.setScale('aString', 'aString') is undefined. |
| 88 | 88 |
| 89 Check passing invalid arguments to 'setRotate' | 89 Check passing invalid arguments to 'setRotate' |
| 90 PASS transform.setRotate() threw exception TypeError: Not enough arguments. | 90 PASS transform.setRotate() threw exception TypeError: Failed to execute 'setRota
te' on 'SVGTransform': 3 arguments required, but only 0 present.. |
| 91 PASS transform.setRotate(transform) threw exception TypeError: Not enough argume
nts. | 91 PASS transform.setRotate(transform) threw exception TypeError: Failed to execute
'setRotate' on 'SVGTransform': 3 arguments required, but only 1 present.. |
| 92 PASS transform.setRotate(svgElement) threw exception TypeError: Not enough argum
ents. | 92 PASS transform.setRotate(svgElement) threw exception TypeError: Failed to execut
e 'setRotate' on 'SVGTransform': 3 arguments required, but only 1 present.. |
| 93 PASS transform.setRotate('aString') threw exception TypeError: Not enough argume
nts. | 93 PASS transform.setRotate('aString') threw exception TypeError: Failed to execute
'setRotate' on 'SVGTransform': 3 arguments required, but only 1 present.. |
| 94 PASS transform.setRotate(1, transform) threw exception TypeError: Not enough arg
uments. | 94 PASS transform.setRotate(1, transform) threw exception TypeError: Failed to exec
ute 'setRotate' on 'SVGTransform': 3 arguments required, but only 2 present.. |
| 95 PASS transform.setRotate(1, svgElement) threw exception TypeError: Not enough ar
guments. | 95 PASS transform.setRotate(1, svgElement) threw exception TypeError: Failed to exe
cute 'setRotate' on 'SVGTransform': 3 arguments required, but only 2 present.. |
| 96 PASS transform.setRotate(1, 'aString') threw exception TypeError: Not enough arg
uments. | 96 PASS transform.setRotate(1, 'aString') threw exception TypeError: Failed to exec
ute 'setRotate' on 'SVGTransform': 3 arguments required, but only 2 present.. |
| 97 PASS transform.setRotate(1, 1, transform) is undefined. | 97 PASS transform.setRotate(1, 1, transform) is undefined. |
| 98 PASS transform.setRotate(1, 1, svgElement) is undefined. | 98 PASS transform.setRotate(1, 1, svgElement) is undefined. |
| 99 PASS transform.setRotate(1, 1, 'aString') is undefined. | 99 PASS transform.setRotate(1, 1, 'aString') is undefined. |
| 100 | 100 |
| 101 Check passing invalid arguments to 'setSkewX' | 101 Check passing invalid arguments to 'setSkewX' |
| 102 PASS transform.setSkewX() threw exception TypeError: Not enough arguments. | 102 PASS transform.setSkewX() threw exception TypeError: Failed to execute 'setSkewX
' on 'SVGTransform': 1 argument required, but only 0 present.. |
| 103 PASS transform.setSkewX(transform) is undefined. | 103 PASS transform.setSkewX(transform) is undefined. |
| 104 PASS transform.setSkewX(svgElement) is undefined. | 104 PASS transform.setSkewX(svgElement) is undefined. |
| 105 PASS transform.setSkewX('aString') is undefined. | 105 PASS transform.setSkewX('aString') is undefined. |
| 106 | 106 |
| 107 Check passing invalid arguments to 'setSkewY' | 107 Check passing invalid arguments to 'setSkewY' |
| 108 PASS transform.setSkewY() threw exception TypeError: Not enough arguments. | 108 PASS transform.setSkewY() threw exception TypeError: Failed to execute 'setSkewY
' on 'SVGTransform': 1 argument required, but only 0 present.. |
| 109 PASS transform.setSkewY(transform) is undefined. | 109 PASS transform.setSkewY(transform) is undefined. |
| 110 PASS transform.setSkewY(svgElement) is undefined. | 110 PASS transform.setSkewY(svgElement) is undefined. |
| 111 PASS transform.setSkewY('aString') is undefined. | 111 PASS transform.setSkewY('aString') is undefined. |
| 112 PASS successfullyParsed is true | 112 PASS successfullyParsed is true |
| 113 | 113 |
| 114 TEST COMPLETE | 114 TEST COMPLETE |
| 115 | 115 |
| OLD | NEW |