Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<title>View transitions: new content captures an empty div (ref)</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
div {
width: 100px;
height: 100px;
contain: paint;
position: absolute;
top: 50px;
left: 200px;
background: green;
}
body { background: lightpink; }
</style>
<div></div>