<!DOCTYPE html>
<html>
<title>View transitions: root element style changes during transition</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
#target {
  width: 100px;
  height: 100px;
  contain: paint;
  background: green;
}

body {
  background: grey;
}
</style>

<div id=target></div>

