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:

+ invoker and an EventTarget eventTarget:

    -
  1. Let popover be node's popover target element.

  2. +
  3. Let popover be invoker's popover target element.

  4. If popover is null, then return.

  5. If eventTarget is a shadow-including inclusive descendant of - popover, then return.

  6. + popover, and popover is a shadow-including inclusive descendant + of invoker, then return.

    -
  7. If node's popovertargetaction +

  8. If invoker's popovertargetaction attribute is in the show state and popover's popover visibility state is showing, then return.

  9. -
  10. If node's popovertargetaction +

  11. If invoker's popovertargetaction attribute is in the hide state and popover's popover visibility state is hidden, then return.

  12. @@ -86388,23 +86389,23 @@ dictionary DragEventInit : MouseEventInit {
  13. 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.

  14. + popover given popover, false, and invoker.

-

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.

    -
  1. If node is not a button, then return +

  2. If invoker is not a button, then return null.

  3. -
  4. If node is disabled, then return +

  5. If invoker is disabled, then return null.

  6. -
  7. 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.

  8. -
  9. Let popoverElement be the result of running node's get the popovertarget-associated element.