blob: 89809540c302c2582b62839074513bd3573d9d2b [file] [log] [blame]
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<div id="target"></div>
<script>
var asyncHandle = async_test('Delayed animations are unaffected by on demand timeline updates.');
target.animate(null, {delay: 100}).onfinish = () => asyncHandle.done();
requestAnimationFrame(() => {
requestAnimationFrame(() => {
setTimeout(() => {
// Force layout tree update which forces an on demand timing update.
target.offsetTop;
}, 0);
});
});
</script>