<!DOCTYPE html>
<html class="reftest-wait">
<title>Validates rendering of a transformed element when the element is initially off screen</title>
<link rel="help" href="https://www.w3.org/TR/css-animations-1">
<link rel="help" href="https://www.w3.org/TR/web-animations-1/#the-current-ready-promise">
<link rel="match" href="animation-offscreen-to-onscreen-ref.html">
<style type="text/css" media="screen">
  body {
    margin: 0;
  }

  @keyframes anim {
    from { transform: translate(100px, 0px); }
    to { t