;
}

html::view-transition,
html::view-transition-group(shared),
html::view-transition-image-pair(shared),
html::view-transition-old(shared),
html::view-transition-new(shared) {
  background: blue;
}
</style>

<div></div>

<script>
promise_test(async t => {
  assert_implements(document.startViewTransition, "Missing document.startViewTransition");
  await waitForCompositorReady();
  const vt = document.startViewTransition(() => {
    throw "error";
  });
  let update_callback_resolution;
  let ready_resoluti