content-with-popover-top-layer-ref.html (419B)
1 <!doctype html> 2 <meta charset="utf8"> 3 <title>CSS Content Visibility: popover shows when rendered (ref)</title> 4 5 <style> 6 .box { width: 100px; height: 100px; border: 1px solid black; } 7 #popover { outline: none; } 8 </style> 9 10 <div id=container class=box> 11 This test passes if you can see “PASS” in a white box. 12 <div popover id=popover>PASS<div id=inner></div></div> 13 </div> 14 text 15 16 <script> 17 popover.showPopover(); 18 </script>