12 Each section below has two boxes, the top runs on the main thread, the bottom
15 This test is successful if the boxes are mostly in sync and all finish at the
20 Playback rate is set to
0.5
22 <div id=
"test1a">MT
</div>
23 <div id=
"test1b">CT
</div>
25 Playback rate is set to
1
27 <div id=
"test2a">MT
</div>
28 <div id=
"test2b">CT
</div>
30 Playback rate is set to
2
32 <div id=
"test3a">MT
</div>
33 <div id=
"test3b">CT
</div>
36 var transformKeyframes
= [
37 {transform
: 'translateX(0px)'},
38 {transform
: 'translateX(500px)'}
44 var player1a
= test1a
.animate(leftKeyframes
, {
50 var player1b
= test1b
.animate(transformKeyframes
, {
56 var player2a
= test2a
.animate(leftKeyframes
, {
62 var player2b
= test2b
.animate(transformKeyframes
, {
68 var player3a
= test3a
.animate(leftKeyframes
, {
74 var player3b
= test3b
.animate(transformKeyframes
, {