0;
        }
    </style>
</head>
<body>
    <div></div>
    <script src="/common/reftest-wait.js"></script>
    <script>
        failIfNot(document.startViewTransition, "Missing document.startViewTransition");
        addEventListener("load", () => {
            document.startViewTransition(() => {
                requestAnimationFrame(takeScreenshot);
                return new Promise(() => {});
            });
        });
    </script>
</body>
</html>
