<!DOCTYPE html>
<html class=test-wait>
<title>View transitions: crash test</title>
<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<html>
<head>
<script>
function eventhandler1() {
  var iframeDoc = iframe.contentDocument;
  var viewTransition = iframeDoc.startViewTransition();
  requestAnimationFrame(() => {
    requestAnimationFrame(() => {
      requestAnimationFrame(() => document.documentElement.classList.remove("test-wait"));