diff --git a/source b/source index be9f621d529..153476f71e1 100644 --- a/source +++ b/source @@ -1832,7 +1832,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
If removedNode's popover
attribute is not in
the no popover state, then run the hide
- popover algorithm given removedNode, false, false, and false.
A DragEventInit : MouseEventInit {
If oldValue and value are in different states, then run the hide popover algorithm given - element, true, true, and false.
If the result of running check popover validity given element, - false, throwExceptions, and null is false, then run cleanupShowingFlag and - return.
Assert: element is not in document's top layer.
If the result of running check popover validity given element, false, - throwExceptions, and document is false, then run + throwExceptions, document, and false is false, then run cleanupShowingFlag and return.
Check popover validity is called again because firing the If the result of running check popover validity given element,
- false, throwExceptions, and document is false, then run
+ false, throwExceptions, document, and false is false, then run
cleanupShowingFlag and return. Check popover validity is called again because running DragEventInit : MouseEventInit {
method steps are: Run the hide popover algorithm given this, true, true, and
- true. Run the hide popover algorithm given this, true, true, true, and
+ false. To hide a popover given an HTML element element, a boolean focusPreviousElement, a
- boolean fireEvents, and a boolean throwExceptions:DragEventInit : MouseEventInit {
-
If the result of running check popover validity given element, - true, throwExceptions, and null is false, then return.
Let document be element's node document.
If the result of running check popover validity given element, - true, and throwExceptions is false, then run cleanupHidingFlag and - return.
+ true, throwExceptions, and ignoreDomState is false, then run + cleanupHidingFlag and return.Check popover validity is called again because running hide all popovers until could have disconnected @@ -82671,8 +82673,8 @@ dictionary DragEventInit : MouseEventInit {
If the result of running check popover validity given element, - true, throwExceptions, and null is false, then run cleanupHidingFlag and - return.
+ true, throwExceptions, null, and ignoreDomState is false, then run + cleanupHidingFlag and return.Check popover validity is called again because firing the beforetoggle
event could have disconnected
@@ -82720,8 +82722,8 @@ dictionary DragEventInit : MouseEventInit {
If this's popover visibility state is showing, and force is not present or false, then - run the hide popover algorithm given this, true, true, and - true.
Otherwise, if force is not present or true, then run show popover given this true, and null.
Run the hide popover algorithm given popover, - focusPreviousElement, fireEvents, and false.
Set popover to document's topmost auto popover.
Run the hide popover algorithm given document's auto popover list's last element, focusPreviousElement, fireEvents, - and false.
To check popover validity for an HTML element
element given a boolean expectedToBeShowing, a boolean
- throwExceptions, and a Document
or null expectedDocument
- perform the following steps. They throw an exception or return a boolean.
Document
or null expectedDocument, and a
+ boolean ignoreDomState, perform the following steps. They throw an exception or return
+ a boolean.
If element's popover
attribute is in the
- no popover state, then:
If ignoreDomState is false and element's popover
attribute is in the no popover state, then:
If throwExceptions is true, then throw a @@ -83010,10 +83014,11 @@ dictionary DragEventInit : MouseEventInit {
If one of the following conditions is true
element is not connected
ignoreDomState is false and element is not + connected
expectedDocument is not null and element's node - document is not expectedDocument
ignoreDomState is false and expectedDocument is not null and + element's node document is not expectedDocument
element is a dialog
element and its is modal flag
is set to true.
If popover's popover visibility state is showing, then run the hide popover algorithm - given popover, true, true, and false.
Otherwise, if popover's popover visibility state is hidden and the result of running check popover - validity given popover, false, false, and null is true, then run show - popover given popover, false, and node.
To get the popover target element given a Node
node, perform
@@ -83207,7 +83212,8 @@ dictionary DragEventInit : MouseEventInit {
topmost auto popover showing, user agents may provide a user interface that, upon
activation, queues an element task on the user
interaction task source given topmost auto popover to run the hide
- popover algorithm given the topmost auto popover, true, true, and false.
To light dismiss open popovers, given an Event
event: