diff --git a/source b/source index c16dde7c133..4b2d33a82ad 100644 --- a/source +++ b/source @@ -91990,8 +91990,8 @@ dictionary DragEventInit : MouseEventInit {

While currentNode is not null:

    -
  1. Let targetPopover be currentNode's popover target - element.

  2. +
  3. Let targetPopover be currentNode's target popover. +

  4. If targetPopover is not null and targetPopover's popover attribute is in the DragEventInit : MouseEventInit {

+
+

To get the target popover given a Node node, perform the + following steps. They return an HTML element or null.

+ +
    +
  1. +

    If node is an HTML button element, + then:

    + +
      +
    1. Let target be the result of running node's get the commandfor-associated + element.

    2. + +
    3. +

      If target is not null, then:

      + +
        +
      1. If node is disabled, then return + null.

      2. + +
      3. +

        If node has a form owner:

        + +
          +
        1. If element is a submit + button, then return null.

        2. + +
        3. If element's type attribute is in + the Reset Button state, then return + null.

        4. + +
        5. If element's type attribute is in + the Auto state, then return + null.

        6. + +
        +
      4. + +
      5. Let command be node's command attribute.

      6. + +
      7. If command is not in the Toggle Popover, Hide Popover, or Show Popover states, then return + null.

      8. + +
      9. If target's popover attribute is in the + No Popover state, then return null.

      10. + +
      11. Return target.

      12. +
      +
    4. +
    +
  2. + +
  3. Return node's popover target element.

  4. +
+
+

Loading web pages