OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>requestAnimationFrame in queue get the same timestamp</title> | 4 <title>requestAnimationFrame in queue get the same timestamp</title> |
5 <script src="../../../../../resources/testharness.js"></script> | 5 <script src="../../../../../resources/testharness.js"></script> |
6 <script src="../../../../../resources/testharnessreport.js"></script> | 6 <script src="../../../../../resources/testharnessreport.js"></script> |
7 <link rel="help" href="http://w3c.github.io/animation-timing/#dfn-invoke-cal
lbacks-algorithm"/> | 7 <link rel="help" href="http://w3c.github.io/animation-timing/#dfn-invoke-cal
lbacks-algorithm"/> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <div id="log"></div> | 10 <div id="log"></div> |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 setTimeout(function() { | 23 setTimeout(function() { |
24 assert_true(a != 0); | 24 assert_true(a != 0); |
25 assert_true(b != 0); | 25 assert_true(b != 0); |
26 assert_true(a == b); | 26 assert_true(a == b); |
27 }, 100); | 27 }, 100); |
28 }, "requestAnimationFrame will timestamp events in the same queue with the
same time"); | 28 }, "requestAnimationFrame will timestamp events in the same queue with the
same time"); |
29 </script> | 29 </script> |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |