<!DOCTYPE html>
<meta charset="utf-8">
<title>ScrollTimeline current time algorithm - NaN cases</title>
<link rel="help" href="https://wicg.github.io/scroll-animations/#current-time-algorithm">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>

<style>
.scroller {
  height: 100px;
  width: 100px;
  overflow: auto;
}

.content {
  height: 500px;
  width: 500px;
}
</style>

<div id='inlineScroller' class='scroller' style='display: inline;'>
  <div class=