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.

  • + popover algorithm given removedNode, false, false, false, and true.

    A DragEventInit : MouseEventInit {

  • If oldValue and value are in different states, then run the hide popover algorithm given - element, true, true, and false.

  • + element, true, true, false, and true.

    @@ -82462,8 +82462,8 @@ dictionary DragEventInit : MouseEventInit {
  • If the result of running check popover validity given element, - false, throwExceptions, and null is false, then run cleanupShowingFlag and - return.

  • + false, throwExceptions, null, and false is false, then run + cleanupShowingFlag and return.

  • Assert: element is not in document's top layer.

  • @@ -82485,7 +82485,7 @@ dictionary DragEventInit : MouseEventInit {
  • 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 DragEventInit : MouseEventInit {

  • 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:

      -
    1. Run the hide popover algorithm given this, true, true, and - true.

    2. +
    3. 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:

    + boolean fireEvents, a boolean throwExceptions, and a boolean + ignoreDomState:

    1. If the result of running check popover validity given element, - true, throwExceptions, and null is false, then return.

    2. + true, throwExceptions, null, and ignoreDomState is false, then + return.

    3. Let document be element's node document.

    4. @@ -82644,8 +82646,8 @@ dictionary DragEventInit : MouseEventInit {
    5. 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 {

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

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

      2. + run the hide popover algorithm given this, true, true, true, and + false.

      3. Otherwise, if force is not present or true, then run show popover given this true, and null.

      4. @@ -82749,7 +82751,7 @@ dictionary DragEventInit : MouseEventInit {
        1. Run the hide popover algorithm given popover, - focusPreviousElement, fireEvents, and false.

        2. + focusPreviousElement, fireEvents, false, and false.

        3. Set popover to document's topmost auto popover.

        4. @@ -82797,7 +82799,7 @@ dictionary DragEventInit : MouseEventInit {
          1. Run the hide popover algorithm given document's auto popover list's last element, focusPreviousElement, fireEvents, - and false.

          2. + false, and false.

          @@ -82976,13 +82978,15 @@ dictionary DragEventInit : MouseEventInit {

          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.

          + throwExceptions, a Document or null expectedDocument, and a + boolean ignoreDomState, perform the following steps. They throw an exception or return + a boolean.

          1. -

            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:

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

              • @@ -83165,12 +83170,12 @@ dictionary DragEventInit : MouseEventInit {
              • If popover's popover visibility state is showing, then run the hide popover algorithm - given popover, true, true, and false.

              • + given popover, true, true, false, 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.

              • + validity given popover, false, false, null, and false 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.

            + popover algorithm given the topmost auto popover, true, true, false, and + false.

            To light dismiss open popovers, given an Event event: