Skip to content

Commit 0929c9a

Browse files
authored
doc[iframe/index.md]: change Window.showModalDialog() to HTMLDialogElement.showModal() (#39556)
1 parent a5d7017 commit 0929c9a

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/html/reference/elements/iframe

1 file changed

+1
-1
lines changed

files/en-us/web/html/reference/elements/iframe/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Reference/Glo
128128
- `allow-pointer-lock`
129129
- : Allows the page to use the [Pointer Lock API](/en-US/docs/Web/API/Pointer_Lock_API).
130130
- `allow-popups`
131-
- : Allows popups (like from {{domxref("Window.open()")}}, `target="_blank"`, {{domxref("Window.showModalDialog()")}}). If this keyword is not used, that functionality will silently fail.
131+
- : Allows popups (like from {{domxref("Window.open()")}}, `target="_blank"`, {{domxref("HTMLDialogElement.showModal()")}}). If this keyword is not used, that functionality will silently fail.
132132
- `allow-popups-to-escape-sandbox`
133133
- : Allows a sandboxed document to open a new browsing context without forcing the sandboxing flags upon it. This will allow, for example, a third-party advertisement to be safely sandboxed without forcing the same restrictions upon the page the ad links to. If this flag is not included, a redirected page, popup window, or new tab will be subject to the same sandbox restrictions as the originating `<iframe>`.
134134
- `allow-presentation`

0 commit comments

Comments
 (0)