1
0
Fork 0
firefox/testing/web-platform/tests/css/css-position/overlay/overlay-transition-in-rendering.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

29 lines
942 B
HTML

<!DOCTYPE html>
<title>CSS Positioned Layout Module Test: 'overlay' transitioning in not rendered in top layer</title>
<link rel="help" href="https://drafts.csswg.org/css-position-4/#overlay">
<link rel="help" href="https://html.spec.whatwg.org/multipage/popover.html">
<link rel="match" href="green-ref.html">
<style>
#transition-in, #green {
/* Force display:block both popover open or closed to not rely on
@starting-style or display transitions. */
display: block;
border: none;
width: 100vw;
height: 100vh;
}
#green {
background-color: green;
}
#transition-in {
transition: overlay 60s step-end;
transition-behavior: allow-discrete;
background-color: red;
}
</style>
<div id="green" popover="manual"></div>
<div id="transition-in" popover="manual"></div>
<script>
document.querySelector("#green").showPopover();
document.querySelector("#transition-in").showPopover();
</script>