overlay-popover-backdrop-crash.html (613B)
1 <!DOCTYPE html> 2 <html class="test-wait"> 3 <title>CSS Position Test: Chrome crash for ::backdrop transitioning overlay for popover</title> 4 <link rel="help" href="https://crbug.com/1446479"> 5 <style> 6 #popover { 7 transition: overlay 60s step-end; 8 display: block; 9 } 10 #popover::backdrop { 11 background: rgba(0, 0, 0, 0.2); 12 } 13 </style> 14 <p>PASS if no crash.</p> 15 <div id="popover" popover></div> 16 <script> 17 requestAnimationFrame(() => { 18 popover.showPopover(); 19 requestAnimationFrame(() => { 20 popover.hidePopover(); 21 document.documentElement.removeAttribute("class"); 22 }); 23 }); 24 </script>