Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-position/overlay/overlay-popover-backdrop-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<title>CSS Position Test: Chrome crash for ::backdrop transitioning overlay for popover</title>
<script src="/common/reftest-wait.js"></script>
<style>
#popover {
transition: overlay 60s step-end;
display: block;
}
#popover::backdrop {
background: rgba(0, 0, 0, 0.2);
}
</style>
<p>PASS if no crash.</p>
<div id="popover" popover></div>
<script>
requestAnimationFrame(() => {
popover.showPopover();
requestAnimationFrame(() => {
popover.hidePopover();
takeScreenshot();
});
});
</script>