From 4c081c09f37bec85de8a142814d0238edb02d417 Mon Sep 17 00:00:00 2001
From: Joey Arhar
If this has an open
attribute and the
+ is modal flag of this is true, then return.
If this has an open
attribute, then
- return.
InvalidStateError
" DOMException
.
If this is in the popover showing
state, then throw an "InvalidStateError
"
@@ -60054,6 +60057,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 element is not connected, then throw a
+ "InvalidStateError
" DOMException
.
If one of the following conditions is true
element is not connected
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 a dialog
element and has an open
attribute
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 changes its popover
+ disconnected this element or changed its popover
attribute.
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
.
If element is not connected, then throw a
- "InvalidStateError
" DOMException
.
If element is not connected, then:
+ +If throwExceptions is true, then throw a
+ "InvalidStateError
" DOMException
.
Return false.
If one of the following conditions is true
From ecdbdfa822b1cc3f65bcd472b737af1e0552f75e Mon Sep 17 00:00:00 2001 From: Joey ArharIf element is not connected, then:
- -If throwExceptions is true, then throw a
- "InvalidStateError
" DOMException
.
Return false.
If one of the following conditions is true
@@ -82585,6 +82574,8 @@ dictionary DragEventInit : MouseEventInit {If one of the following conditions is true
element is not connected
element is a dialog
element and has an open
attribute