<!DOCTYPE html>
<title>View transitions: massive element on top of viewport and completely offscreen (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
.target_at_bottom_edge {
  position: fixed;
  inset-block-end: 0;
  inset-inline-start: 0;
}

.target {
  contain: paint;
  inline-size: 100px;
  block-size: 40000px;
  view-transition-name: target;
}

.top {
  inline-size: 100%;
  block-size: 100px;
  ba