blob: 5c3fb1616d6e01276eced88d3a97b784ba1deb59 [file] [log] [blame]
<!DOCTYPE html>
<html>
<title>View transitions: offscreen content</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
body { background: pink }
.flex {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
}
.box {
width: 100px;
height: 500px;
contain: paint;
background: green;
border: 1px solid black;
box-sizing: border-box;
}
.hidden {
visibility: hidden;
}
</style>
<div class=flex>
<div class="box hidden">ancestor c-v</div>
<div class=box>self c-v</div>
<div class=box>descendant c-v</div>
</div>