1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/nested-elements-in-overflow-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

36 lines
651 B
HTML

<!DOCTYPE html>
<html>
<title>View transitions: nested named element in overflow</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<style>
body {
background: rebeccapurple;
margin: 0;
}
.outer {
width: 50px;
height: 100px;
position: absolute;
top: 50px;
left: 50px;
border: 2px solid black;
}
.inner {
background: lightblue;
width: 50px;
height: 50px;
view-transition-name: outer;
position: absolute;
top: 25px;
}
.grey {
background: lightgrey;
position: relative;
width: 50px;
height: 50px;
}
</style>
<div class="outer">
<div class="inner"></div>
</div>
<div class="grey"></div>