| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style type="text/css"> | 4 <style type="text/css"> |
| 5 .anim { | 5 .anim { |
| 6 position: absolute; | 6 position: absolute; |
| 7 left: 10px; | 7 left: 10px; |
| 8 height: 90px; | 8 height: 90px; |
| 9 width: 100px; | 9 width: 100px; |
| 10 background-color: black; | 10 background-color: black; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 } else { | 33 } else { |
| 34 log('FAIL: event timelineTime ' + event.timelineTime + | 34 log('FAIL: event timelineTime ' + event.timelineTime + |
| 35 ' does not equal timeline currentTime ' + document.timeline.currentT
ime); | 35 ' does not equal timeline currentTime ' + document.timeline.currentT
ime); |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 | 38 |
| 39 var playerTop, playerMiddle, playerBottom; | 39 var playerTop, playerMiddle, playerBottom; |
| 40 | 40 |
| 41 function onFinishTop(event) { | 41 function onFinishTop(event) { |
| 42 validateFinishEvent(playerTop, event); | 42 validateFinishEvent(playerTop, event); |
| 43 testRunner.notifyDone(); | 43 if (window.testRunner) { |
| 44 testRunner.notifyDone(); |
| 45 } |
| 44 } | 46 } |
| 45 | 47 |
| 46 function onFinishMiddle(event) { | 48 function onFinishMiddle(event) { |
| 47 log('FAIL: seeking to finish should not queue event'); | 49 log('FAIL: seeking to finish should not queue event'); |
| 48 } | 50 } |
| 49 | 51 |
| 50 function onFinishBottom(event) { | 52 function onFinishBottom(event) { |
| 51 log('FAIL: seeking past finish should not queue event'); | 53 log('FAIL: seeking past finish should not queue event'); |
| 52 } | 54 } |
| 53 | 55 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 </script> | 88 </script> |
| 87 </head> | 89 </head> |
| 88 <body> | 90 <body> |
| 89 <div class="anim" id="top"></div> | 91 <div class="anim" id="top"></div> |
| 90 <div class="anim" id="middle"></div> | 92 <div class="anim" id="middle"></div> |
| 91 <div class="anim" id="bottom"></div> | 93 <div class="anim" id="bottom"></div> |
| 92 <div id="results"></div> | 94 <div id="results"></div> |
| 93 </body> | 95 </body> |
| 94 </html> | 96 </html> |
| 95 | 97 |
| OLD | NEW |