1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/scoped/content-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
629 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
body { margin: 20px }
#scope {
position: relative; z-index: 0; background: pink;
border: 5px dashed purple; padding: 5px;
width: 180px; height: 120px;
}
#part {
position: relative; z-index: 0; background: lightgrey;
border: 5px solid blue; padding: 5px;
width: 120px; height: 60px;
left: 20px; top: 20px;
view-transition-name: foo;
}
#scope-client-area {
position: absolute; inset: 0; padding: 5px;
background: yellow;
}
</style>
</head>
<body>
<div id=scope>
<div id=scope-client-area>
<div id=part>
PARTICIPANT
</div>
</div>
</div>
</body>
</html>