| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <link rel=author title="Mason Freed" href="mailto:masonfreed@chromium.org"> |
| <link rel=help href="https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/Popup/explainer.md"> |
| <link rel=match href="popup-hidden-display-ref.tentative.html"> |
| |
| No popup should be displayed here.<p> |
| |
| <div style="display:none"> |
| <popup>This content should be hidden</popup> |
| </div> |
| |
| <script> |
| const popup = document.querySelector('popup'); |
| popup.show(); |
| if (!popup.open) |
| document.body.appendChild(document.createTextNode('FAIL')); |
| </script> |