1
0
Fork 0
firefox/testing/web-platform/tests/css/css-view-transitions/capture-with-visibility-mixed-descendants-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

37 lines
683 B
HTML

<!doctype html>
<html>
<title>View transitions: visibility hidden/visible descendants (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
body {
background: pink;
}
.target {
width: 100px;
height: 100px;
view-transition-name: target;
background: blue;
}
.invisible {
top: 200px;
left: 200px;
width: 500px;
height: 500px;
position: relative;
background: red;
visibility: hidden;
}
.visible {
background: green;
width: 10px;
height: 10px;
visibility: visible;
}
</style>
<div class=target>
<div class=invisible><div class=visible></div></div>
</div>