blob: e5da3b26e4625fd457df8571f27834b9b6969b28 [file] [log] [blame]
This test performs animations of the transform property on five boxes over 2 seconds. Box 1 has all keyframes. Box 2 has a missing "from" keyframe. Box 3 has a missing "to" keyframe. Box 4 has both "from" and "to" keyframes missing, but other keyframes which should trigger the generation of "from" and "to". Box 5 has no keyframes, and should not animate. The test takes 3 snapshots each and expects each result to be within a specified range.
PASS - "webkitTransform.4" property for "box1" element at 0.4s saw something close to: 20
PASS - "webkitTransform.4" property for "box1" element at 1s saw something close to: 20
PASS - "webkitTransform.4" property for "box1" element at 1.6s saw something close to: 15
PASS - "webkitTransform.4" property for "box2" element at 0.4s saw something close to: 20
PASS - "webkitTransform.4" property for "box2" element at 1s saw something close to: 20
PASS - "webkitTransform.4" property for "box2" element at 1.6s saw something close to: 15
PASS - "webkitTransform.4" property for "box3" element at 0.4s saw something close to: 20
PASS - "webkitTransform.4" property for "box3" element at 1s saw something close to: 20
PASS - "webkitTransform.4" property for "box3" element at 1.6s saw something close to: 15
PASS - "webkitTransform.4" property for "box4" element at 0.4s saw something close to: 20
PASS - "webkitTransform.4" property for "box4" element at 1s saw something close to: 25
PASS - "webkitTransform.4" property for "box4" element at 1.6s saw something close to: 15
PASS - "webkitTransform.4" property for "box5" element at 0.4s saw something close to: 10
PASS - "webkitTransform.4" property for "box5" element at 1s saw something close to: 10
PASS - "webkitTransform.4" property for "box5" element at 1.6s saw something close to: 10