expect(attr.element).toBe(p);\r
expect(attr.frame.timelines.length).toEqual(0);\r
\r
+ s.setAttribute("end", "0");\r
check("from", 1);\r
check("to", 2);\r
check("by", 3);\r
expect(line.string).toBe("0");\r
var act = line.$activate;\r
expect(act.dur).toBeNull();\r
- expect(act.end).toBeNull();\r
+ expect(act.end).toBe(0);\r
expect(act.repeatCount).toBeNull();\r
expect(act.repeatDur).toBeNull();\r
expect(act.min).toBe("0");\r
var p = document.createElement("g");\r
p.appendChild(s);\r
var values = [ "0",\r
- null, null, null, null, \r
+ "0", null, null, null, \r
"0", "indefinite", null\r
];\r
- values[7] = "0";\r
+ values[7] = 0;\r
check2("dur", "0");\r
check2("begin", "0");\r
values[0] = "1";\r
check2("begin", "1");\r
- values[1] = "0";\r
values[2] = 0;\r
check2("end", "0");\r
values[3] = "0";\r