diff --git a/source b/source index 5d548bfad02..58f6c227aaf 100644 --- a/source +++ b/source @@ -86361,22 +86361,23 @@ dictionary DragEventInit : MouseEventInit { attribute, limited to only known values.
To run the popover target attribute activation behavior given a Node
- node and an EventTarget
eventTarget:
EventTarget
eventTarget:
Let popover be node's popover target element.
Let popover be invoker's popover target element.
If popover is null, then return.
If eventTarget is a shadow-including inclusive descendant of - popover, then return.
If node's popovertargetaction
+
If invoker's popovertargetaction
attribute is in the show state and
popover's popover visibility state is showing, then return.
If node's popovertargetaction
+
If invoker's popovertargetaction
attribute is in the hide state and
popover's popover visibility state is hidden, then return.
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
+
To get the popover target element given a Node
invoker, perform
the following steps. They return an HTML element or null.
If node is not a button, then return +
If invoker is not a button, then return null.
If node is disabled, then return +
If invoker is disabled, then return null.
If node has a form owner and node is a If invoker has a form owner and invoker is a submit button, then return null.
Let popoverElement be the result of running node's get the popovertarget
-associated
element.