blob: 81f577f9766f80c5fce8405721a5a092bc87e355 [file] [log] [blame]
SVG 1.1 dynamic animation tests
This verifies several attributeTypes combiniations
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS rect1.width.animVal.value is 10
PASS rect1.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect2.width.animVal.value is 10
PASS rect2.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect3.width.animVal.value is 100
PASS rect3.width.baseVal.value is 100
PASS colorComponents[1] is 255
PASS colorComponents[2] is 0
PASS colorComponents[3] is 0
PASS rect3.getAttribute('fill') is "red"
PASS rect4.width.animVal.value is 100
PASS rect4.width.baseVal.value is 100
PASS colorComponents[1] is 255
PASS colorComponents[2] is 0
PASS colorComponents[3] is 0
PASS rect4.getAttribute('fill') is "red"
PASS rect1.width.animVal.value is 55
PASS rect1.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect2.width.animVal.value is 55
PASS rect2.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect3.width.animVal.value is 100
PASS rect3.width.baseVal.value is 100
PASS colorComponents[1] is 128
PASS colorComponents[2] is 64
PASS colorComponents[3] is 0
PASS rect3.getAttribute('fill') is "red"
PASS rect4.width.animVal.value is 100
PASS rect4.width.baseVal.value is 100
PASS colorComponents[1] is 128
PASS colorComponents[2] is 64
PASS colorComponents[3] is 0
PASS rect4.getAttribute('fill') is "red"
PASS rect1.width.animVal.value is 100
PASS rect1.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect2.width.animVal.value is 100
PASS rect2.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect3.width.animVal.value is 100
PASS rect3.width.baseVal.value is 100
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect3.getAttribute('fill') is "red"
PASS rect4.width.animVal.value is 100
PASS rect4.width.baseVal.value is 100
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect4.getAttribute('fill') is "red"
PASS rect1.width.animVal.value is 100
PASS rect1.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect2.width.animVal.value is 100
PASS rect2.width.baseVal.value is 10
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect3.width.animVal.value is 100
PASS rect3.width.baseVal.value is 100
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect3.getAttribute('fill') is "red"
PASS rect4.width.animVal.value is 100
PASS rect4.width.baseVal.value is 100
PASS colorComponents[1] is 0
PASS colorComponents[2] is 128
PASS colorComponents[3] is 0
PASS rect4.getAttribute('fill') is "red"
PASS successfullyParsed is true
TEST COMPLETE