Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<meta name="assert" content="Removing the popover attribute of a hidden popover should not remove the dialog from the top layer.">
<head>
<title>Shown modal dialog where the popover attribute is removed</title>
<link rel="match" href="top-layer-remove-popover-attribute-ref.html">
</head>
<body>
<dialog popover style="padding: 2em"></dialog>
<script>
const d = document.querySelector("dialog");
d.showModal();
d.popover = null;
</script>
</body>
<html>