blob: 04da2007f0e3ab40392a2ecb26219cd5dd20e012 [file] [log] [blame]
SVG 1.1 dynamic animation tests
Test path animation where coordinate modes of start and end differ. You should see PASS messages
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS path.animatedPathSegList.numberOfItems is 4
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is -30
PASS path.animatedPathSegList.getItem(0).y is -30
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.animatedPathSegList.getItem(1).x is 30
PASS path.animatedPathSegList.getItem(1).y is 30
PASS path.animatedPathSegList.getItem(1).x1 is 30
PASS path.animatedPathSegList.getItem(1).y1 is 0
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.animatedPathSegList.getItem(2).x is -30
PASS path.animatedPathSegList.getItem(2).y is 30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 4
PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.pathSegList.getItem(0).x is -30
PASS path.pathSegList.getItem(0).y is -30
PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.pathSegList.getItem(1).x is 30
PASS path.pathSegList.getItem(1).y is 30
PASS path.pathSegList.getItem(1).x1 is 30
PASS path.pathSegList.getItem(1).y1 is 0
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.pathSegList.getItem(2).x is -30
PASS path.pathSegList.getItem(2).y is 30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 4
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is -30
PASS path.animatedPathSegList.getItem(0).y is -30
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.animatedPathSegList.getItem(1).x is 37.5
PASS path.animatedPathSegList.getItem(1).y is 30
PASS path.animatedPathSegList.getItem(1).x1 is 37.5
PASS path.animatedPathSegList.getItem(1).y1 is 0
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.animatedPathSegList.getItem(2).x is -37.5
PASS path.animatedPathSegList.getItem(2).y is 30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 4
PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.pathSegList.getItem(0).x is -30
PASS path.pathSegList.getItem(0).y is -30
PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.pathSegList.getItem(1).x is 30
PASS path.pathSegList.getItem(1).y is 30
PASS path.pathSegList.getItem(1).x1 is 30
PASS path.pathSegList.getItem(1).y1 is 0
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.pathSegList.getItem(2).x is -30
PASS path.pathSegList.getItem(2).y is 30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 4
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is -30
PASS path.animatedPathSegList.getItem(0).y is -30
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "Q"
PASS path.animatedPathSegList.getItem(1).x is 22.5
PASS path.animatedPathSegList.getItem(1).y is 0
PASS path.animatedPathSegList.getItem(1).x1 is 22.5
PASS path.animatedPathSegList.getItem(1).y1 is -30
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "T"
PASS path.animatedPathSegList.getItem(2).x is -30
PASS path.animatedPathSegList.getItem(2).y is 30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 4
PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.pathSegList.getItem(0).x is -30
PASS path.pathSegList.getItem(0).y is -30
PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.pathSegList.getItem(1).x is 30
PASS path.pathSegList.getItem(1).y is 30
PASS path.pathSegList.getItem(1).x1 is 30
PASS path.pathSegList.getItem(1).y1 is 0
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.pathSegList.getItem(2).x is -30
PASS path.pathSegList.getItem(2).y is 30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 4
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is -30
PASS path.animatedPathSegList.getItem(0).y is -30
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "Q"
PASS path.animatedPathSegList.getItem(1).x is 30
PASS path.animatedPathSegList.getItem(1).y is 0
PASS path.animatedPathSegList.getItem(1).x1 is 30
PASS path.animatedPathSegList.getItem(1).y1 is -30
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "T"
PASS path.animatedPathSegList.getItem(2).x is -30
PASS path.animatedPathSegList.getItem(2).y is 30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 4
PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.pathSegList.getItem(0).x is -30
PASS path.pathSegList.getItem(0).y is -30
PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.pathSegList.getItem(1).x is 30
PASS path.pathSegList.getItem(1).y is 30
PASS path.pathSegList.getItem(1).x1 is 30
PASS path.pathSegList.getItem(1).y1 is 0
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.pathSegList.getItem(2).x is -30
PASS path.pathSegList.getItem(2).y is 30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 4
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is -30
PASS path.animatedPathSegList.getItem(0).y is -30
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.animatedPathSegList.getItem(1).x is 30
PASS path.animatedPathSegList.getItem(1).y is 30
PASS path.animatedPathSegList.getItem(1).x1 is 30
PASS path.animatedPathSegList.getItem(1).y1 is 0
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.animatedPathSegList.getItem(2).x is -30
PASS path.animatedPathSegList.getItem(2).y is 30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 4
PASS path.pathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.pathSegList.getItem(0).x is -30
PASS path.pathSegList.getItem(0).y is -30
PASS path.pathSegList.getItem(1).pathSegTypeAsLetter is "q"
PASS path.pathSegList.getItem(1).x is 30
PASS path.pathSegList.getItem(1).y is 30
PASS path.pathSegList.getItem(1).x1 is 30
PASS path.pathSegList.getItem(1).y1 is 0
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "t"
PASS path.pathSegList.getItem(2).x is -30
PASS path.pathSegList.getItem(2).y is 30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "Z"
PASS successfullyParsed is true
TEST COMPLETE