Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<title>View transitions: view-transition-name non-none value is a backdrop filter root</title>
<link rel="author" href="mailto:vmpstr@chromium.org">
<link rel="match" href="view-transition-name-is-backdrop-filter-root-ref.html">
<style>
.background {
background: cyan;
width: 200px;
height: 200px;
}
.shared {
background: blue;
position: relative;
left: 50px;
top: 50px;
width: 100px;
height: 100px;
view-transition-name: shared;
}
.filter {
backdrop-filter: invert(1);
position: relative;
left: -50px;
top: 30px;
width: 200px;
height: 40px;
}
</style>
<div class=background>
<div class=shared>
<div class=filter></div>
</div>
</div>