1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/content-with-overflow-zoomed-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

33 lines
669 B
HTML

<!DOCTYPE html>
<title>View transitions: shared element with overflow (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:khushalsagar@chromium.org">
<style>
.target {
width: 80px;
height: 80px;
contain: paint;
background: blue;
overflow-clip-margin: 50px;
view-transition-name: target;
zoom: 1.5;
border: 2px solid black;
}
.child {
width: 200px;
height: 200px;
position: relative;
top: 50px;
left: 50px;
background: green;
zoom: 1.2;
}
body { background: lightpink; }
</style>
<div class=ancestor>
<div class=target>
<div class=child>
</div>
</div>
</div>