blob: 648c045e61f4123d6100090b64f6be31ee7f4536 [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 5
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 "l"
PASS path.animatedPathSegList.getItem(1).x is -60
PASS path.animatedPathSegList.getItem(1).y is -30
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.animatedPathSegList.getItem(2).y is -30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.animatedPathSegList.getItem(3).x is 30
PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 5
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 "l"
PASS path.pathSegList.getItem(1).x is -60
PASS path.pathSegList.getItem(1).y is -30
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.pathSegList.getItem(2).y is -30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.pathSegList.getItem(3).x is 30
PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 5
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is 15
PASS path.animatedPathSegList.getItem(0).y is 15
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "l"
PASS path.animatedPathSegList.getItem(1).x is -30
PASS path.animatedPathSegList.getItem(1).y is -15
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.animatedPathSegList.getItem(2).y is -15
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.animatedPathSegList.getItem(3).x is 15
PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 5
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 "l"
PASS path.pathSegList.getItem(1).x is -60
PASS path.pathSegList.getItem(1).y is -30
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.pathSegList.getItem(2).y is -30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.pathSegList.getItem(3).x is 30
PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 5
PASS path.animatedPathSegList.getItem(0).pathSegTypeAsLetter is "M"
PASS path.animatedPathSegList.getItem(0).x is -15
PASS path.animatedPathSegList.getItem(0).y is -15
PASS path.animatedPathSegList.getItem(1).pathSegTypeAsLetter is "L"
PASS path.animatedPathSegList.getItem(1).x is 15
PASS path.animatedPathSegList.getItem(1).y is 0
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V"
PASS path.animatedPathSegList.getItem(2).y is 15
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H"
PASS path.animatedPathSegList.getItem(3).x is 0
PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 5
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 "l"
PASS path.pathSegList.getItem(1).x is -60
PASS path.pathSegList.getItem(1).y is -30
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.pathSegList.getItem(2).y is -30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.pathSegList.getItem(3).x is 30
PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 5
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 "L"
PASS path.animatedPathSegList.getItem(1).x is 30
PASS path.animatedPathSegList.getItem(1).y is 0
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "V"
PASS path.animatedPathSegList.getItem(2).y is 30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "H"
PASS path.animatedPathSegList.getItem(3).x is 0
PASS path.pathSegList.numberOfItems is 5
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 "l"
PASS path.pathSegList.getItem(1).x is -60
PASS path.pathSegList.getItem(1).y is -30
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.pathSegList.getItem(2).y is -30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.pathSegList.getItem(3).x is 30
PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.animatedPathSegList.numberOfItems is 5
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 "l"
PASS path.animatedPathSegList.getItem(1).x is -60
PASS path.animatedPathSegList.getItem(1).y is -30
PASS path.animatedPathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.animatedPathSegList.getItem(2).y is -30
PASS path.animatedPathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.animatedPathSegList.getItem(3).x is 30
PASS path.animatedPathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS path.pathSegList.numberOfItems is 5
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 "l"
PASS path.pathSegList.getItem(1).x is -60
PASS path.pathSegList.getItem(1).y is -30
PASS path.pathSegList.getItem(2).pathSegTypeAsLetter is "v"
PASS path.pathSegList.getItem(2).y is -30
PASS path.pathSegList.getItem(3).pathSegTypeAsLetter is "h"
PASS path.pathSegList.getItem(3).x is 30
PASS path.pathSegList.getItem(4).pathSegTypeAsLetter is "Z"
PASS successfullyParsed is true
TEST COMPLETE