summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/flow-content-0/support/dialog-framed.html
blob: f9c414c246d1f89e697536f458e08ae33359e457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!doctype html>
<style>
 html { color: red }
</style>
<dialog id=dialog-closed></dialog>
<dialog id=dialog-open open></dialog>
<dialog id=dialog-modal></dialog>
<script>
window.dialogClosed = document.getElementById('dialog-closed');
window.dialogOpen = document.getElementById('dialog-open');
window.dialogModal = document.getElementById('dialog-modal');
dialogModal.showModal();
</script>