Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<title>View transitions: an iframe scrolled into view during update callback displays all of its old paint (ref)</title>
<style>
body {
margin: 0;
}
iframe {
display: block;
width: 200px;
height: 200px;
border: none;
}
</style>
<iframe srcdoc="
<style>
body {
margin: 0;
}
div {
height: 100px;
}
</style>
<div style='background: blue'></div>
<div style='background: yellow'></div>
"></iframe>
</html>