diff --git a/source b/source index 4932739f730..4a2ead76ad3 100644 --- a/source +++ b/source @@ -60158,8 +60158,11 @@ interface HTMLDialogElement : HTMLElement { method steps are:
If this has an open
attribute and the
+ is modal flag of this is false, then return.
If this has an open
attribute, then
- return.
InvalidStateError
" DOMException
.
If this is in the popover showing
state, then throw an "InvalidStateError
"
@@ -60181,6 +60184,9 @@ interface HTMLDialogElement : HTMLElement {
data-x="dom-dialog-showModal">showModal() method steps are:
If this has an open
attribute and the
+ is modal flag of this is true, then return.
If this has an open
attribute, then
throw an "InvalidStateError
" DOMException
.
Check popover validity is called again because running hide all popovers until above could have fired the
beforetoggle
event, and an event handler could have
- disconnected this element or called showPopover()
on
- this element.
popover
+ attribute.
If one of the following conditions is true
element is not connected
expectedDocument is not null and element's node - document is not expectedDocument
expectedToBeShowing is true and element's popover visibility state is not showing
expectedToBeShowing is false and element's popover visibility state is not hidden
then return false.
+ + +If one of the following conditions is true
+ +element is not connected
expectedDocument is not null and element's node + document is not expectedDocument
element is a dialog
element and has an open
attribute