on-name: target;
  view-transition-class: cls;
}

:root::view-transition-group(*),
:root::view-transition-image-pair(*),
:root::view-transition-new(*),
:root::view-transition-old(*) {
  animation-play-state: paused;
}

:root::view-transition-group(target.cls) {
  left: 100px;
}

</style>
<div id=target></div>

<script>
failIfNot(document.startViewTransition, "Missing document.startViewTransition");

window.addEventListener("load", () => {
  document.startViewTransition().ready.then(requestAnimationFrame(() 