| OLD | NEW |
| 1 This is a test of the SVGPathSegList::appendItem() API. | 1 This is a test of the SVGPathSegList::appendItem() 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 'pathSegList' value of path1 | 7 Check initial 'pathSegList' value of path1 |
| 8 PASS path1.pathSegList.numberOfItems is 3 | 8 PASS path1.pathSegList.numberOfItems is 3 |
| 9 PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" | 9 PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" |
| 10 PASS path1.pathSegList.getItem(0).x is 100 | 10 PASS path1.pathSegList.getItem(0).x is 100 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 Initialize path1 list with first item of path2 | 60 Initialize path1 list with first item of path2 |
| 61 PASS path1.pathSegList.initialize(path2.pathSegList.getItem(0)).toString() is "[
object SVGPathSegMovetoAbs]" | 61 PASS path1.pathSegList.initialize(path2.pathSegList.getItem(0)).toString() is "[
object SVGPathSegMovetoAbs]" |
| 62 | 62 |
| 63 Check intermediate list state of path1 | 63 Check intermediate list state of path1 |
| 64 PASS path1.pathSegList.numberOfItems is 1 | 64 PASS path1.pathSegList.numberOfItems is 1 |
| 65 PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" | 65 PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" |
| 66 PASS path1.pathSegList.getItem(0).x is 50 | 66 PASS path1.pathSegList.getItem(0).x is 50 |
| 67 PASS path1.pathSegList.getItem(0).y is 50 | 67 PASS path1.pathSegList.getItem(0).y is 50 |
| 68 | 68 |
| 69 Check intermediate list state of path2 | 69 Check intermediate list state of path2 |
| 70 PASS path2.pathSegList.numberOfItems is 2 | 70 PASS path2.pathSegList.numberOfItems is 3 |
| 71 PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegLinetoAbs]" | 71 PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" |
| 72 PASS path2.pathSegList.getItem(0).x is 0 | 72 PASS path2.pathSegList.getItem(0).x is 50 |
| 73 PASS path2.pathSegList.getItem(0).y is 100 | 73 PASS path2.pathSegList.getItem(0).y is 50 |
| 74 PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegMovetoAbs]" | 74 PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoAbs]" |
| 75 PASS path2.pathSegList.getItem(1).x is 0 | 75 PASS path2.pathSegList.getItem(1).x is 0 |
| 76 PASS path2.pathSegList.getItem(1).y is 0 | 76 PASS path2.pathSegList.getItem(1).y is 100 |
| 77 PASS path2.pathSegList.getItem(2).toString() is "[object SVGPathSegMovetoAbs]" |
| 78 PASS path2.pathSegList.getItem(2).x is 0 |
| 79 PASS path2.pathSegList.getItem(2).y is 0 |
| 77 | 80 |
| 78 Initialize path2 list with item0 | 81 Initialize path2 list with item0 |
| 79 PASS path2.pathSegList.initialize(item0).toString() is "[object SVGPathSegMoveto
Abs]" | 82 PASS path2.pathSegList.initialize(item0).toString() is "[object SVGPathSegMoveto
Abs]" |
| 80 | 83 |
| 81 Check final list state of path1 | 84 Check final list state of path1 |
| 82 PASS path1.pathSegList.numberOfItems is 1 | 85 PASS path1.pathSegList.numberOfItems is 1 |
| 83 PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" | 86 PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" |
| 84 PASS path1.pathSegList.getItem(0).x is 50 | 87 PASS path1.pathSegList.getItem(0).x is 50 |
| 85 PASS path1.pathSegList.getItem(0).y is 50 | 88 PASS path1.pathSegList.getItem(0).y is 50 |
| 86 | 89 |
| 87 Check final list state of path2 | 90 Check final list state of path2 |
| 88 PASS path2.pathSegList.numberOfItems is 1 | 91 PASS path2.pathSegList.numberOfItems is 1 |
| 89 PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" | 92 PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]" |
| 90 PASS path2.pathSegList.getItem(0).x is 150 | 93 PASS path2.pathSegList.getItem(0).x is 150 |
| 91 PASS path2.pathSegList.getItem(0).y is 150 | 94 PASS path2.pathSegList.getItem(0).y is 150 |
| 92 PASS successfullyParsed is true | 95 PASS successfullyParsed is true |
| 93 | 96 |
| 94 TEST COMPLETE | 97 TEST COMPLETE |
| 95 | 98 |
| OLD | NEW |