x;
  view-transition-name: target;
}

.child {
  background: green;
  font-size: 100px;
  box-shadow: -20px -20px yellow;
}

html::view-transition-group(target) {
  animation-play-state: paused;
 }
html::view-transition-old(target),
html::view-transition-new(target) {
  animation: unset;
  opacity: 1;
}

html::view-transition-old(target) {
  opacity: 0;
}

/* None of these should apply, so make everything red if it does */
html::view-transition-group(root) { animation: unset; opacity: 1; background: red; }
