Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for HTMLDialogElement.
Developer library 6
Firefox 141 release notes for developers
they are scrolled into view—instead of only when they first become visible. ([Firefox bug 1860030](https://bugzil.la/1860030)). - The closedBy attribute of the HTMLDialogElement interface and the corresponding [`closedby`](/docs/Web/HTML/Reference/Elements/dialog#closedby) attribute of the dialog element are supported. Developers can use these to specify which mechanisms can close a dialog, such as user interaction
Firefox 140 release notes for developers
1963263](https://bugzil.la/1963263)). - **`closedBy` attribute for `<dialog>`** (Nightly): `dom.dialog.light-dismiss.enabled` The closedBy attribute of the HTMLDialogElement interface, and corresponding [`closedby`](/docs/Web/HTML/Reference/Elements/dialog#closedby) attribute of the dialog element, are supported. Developers can use these to specify what mechanisms are able to close the dialogs, such as user int
Firefox 139 release notes for developers
the specification. ([Firefox bug 1958839](https://bugzil.la/1958839)). ### HTTP No notable changes ### APIs #### DOM - The requestClose() method of the HTMLDialogElement interface is now supported. This allows developers to conditionally prevent a dialog from closing by providing a [`cancel` event](/docs/Web/API/HTMLDialogElement/cancel_event) handler. ([Firefox bug 1960556](https://bugzil.la/1960556)). -
`::backdrop` CSS pseudo-element
mode using the [Fullscreen API](/docs/Web/API/Fullscreen_API) Element.requestFullscreen() method. - dialog elements that have been shown in the top layer via a HTMLDialogElement.showModal() call. - Popover elements that have been shown in the top layer via a HTMLElement.showPopover() call. When multiple elements have been placed into the top layer, each one has its own `::backdrop` pseudo-element. ```css /* Backdro
Global attributes
ement/canplaythrough_event) - [`onchange`](/docs/Web/API/HTMLElement/change_event) - [`onclick`](/docs/Web/API/Element/click_event) - [`onclose`](/docs/Web/API/HTMLDialogElement/close_event) - [`oncommand`](/docs/Web/API/HTMLElement/command_event) - [`oncontentvisibilityautostatechange`](/docs/Web/API/Element/contentvisibilityautostatechange_event) - [`oncontextlost`](/docs/Web/API/HTMLCanvasElement/contextlost_event
`inert` HTML global attribute
inert element, along with its descendants, gets removed from the tab order and accessibility tree. Modal dialogs generated with [`showModal()`](/docs/Web/API/HTMLDialogElement/showModal) escape inertness, meaning that they don't inherit inertness from their ancestors, but can be made inert by having the `inert` attribute explicitly set on themselves. No other element can escape inertness. > [!NOTE] > While `inert`