From 819b993ced6e5c8498167bac0c85794e24eeecd2 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Fri, 7 Oct 2022 16:08:19 -0700 Subject: [PATCH] show/hide -> popupshow/popuphide --- source | 78 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/source b/source index 8c3ce5a2e69..f1b73dc1e40 100644 --- a/source +++ b/source @@ -12411,7 +12411,6 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
  • onerror*
  • onfocus*
  • onformdata
  • -
  • onhide
  • oninput
  • oninvalid
  • onkeydown
  • @@ -12432,6 +12431,8 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
  • onpause
  • onplay
  • onplaying
  • +
  • onpopuphide
  • +
  • onpopupshow
  • onprogress
  • onratechange
  • onreset
  • @@ -12441,7 +12442,6 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
  • onseeked
  • onseeking
  • onselect
  • -
  • onshow
  • onslotchange
  • onstalled
  • onsubmit
  • @@ -81306,7 +81306,7 @@ dictionary DragEventInit : MouseEventInit { "InvalidStateError" DOMException.

  • If the result of firing an event named show at element is false, then return.

  • + data-x="event-popupshow">popupshow at element is false, then return.

  • If element is not connected, then return.

  • @@ -81318,9 +81318,9 @@ dictionary DragEventInit : MouseEventInit { data-x="pop-up-showing-state">showing, then return.

    -

    These validity checks are repeated because firing the show - event could have disconnected this element or changed its popup attribute.

    +

    These validity checks are repeated because firing the popupshow event could have disconnected this element or changed + its popup attribute.

    @@ -81378,8 +81378,9 @@ dictionary DragEventInit : MouseEventInit {

    These validity checks are repeated because running hide all pop-ups until above could have fired the - hide event, and an event handler could have disconnected - this element or changed its popup attribute.

    + popuphide event, and an event handler could have + disconnected this element or changed its popup + attribute.

    @@ -81479,8 +81480,9 @@ dictionary DragEventInit : MouseEventInit {

    These validity checks are repeated because running hide all pop-ups until above could have fired the - hide event, and an event handler could have disconnected - this element or changed its popup attribute.

    + popuphide event, and an event handler could have + disconnected this element or changed its popup + attribute.

    @@ -81512,7 +81514,7 @@ dictionary DragEventInit : MouseEventInit {
    1. Queue an element task given user interaction task source and element to fire an event named hide at element.

    2. + data-x="event-popuphide">popuphide at element.

    3. Run pop-up hide finish if needed given element.

    4. @@ -81522,7 +81524,7 @@ dictionary DragEventInit : MouseEventInit {
    5. Fire an event named hide at element.

    6. + data-x="event-popuphide">popuphide at element.

    7. If element is not connected, then return.

    8. @@ -99574,7 +99576,6 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnl onemptied emptied onended ended onformdata formdata - onhide hide oninput input oninvalid invalid onkeydown keydown @@ -99600,7 +99601,8 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnl onseeked seeked onseeking seeking onselect select - onshow show + onpopuphide popuphide + onpopupshow popupshow onslotchange slotchange onstalled stalled onsubmit submit @@ -128357,12 +128359,6 @@ interface External { hashchange event handler for Window object Event handler content attribute - - onhide - HTML elements - hide event handler - Event handler content attribute - oninput HTML elements @@ -128531,6 +128527,18 @@ interface External { popstate event handler for Window object Event handler content attribute + + onpopuphide + HTML elements + popuphide event handler + Event handler content attribute + + + onpopupshow + HTML elements + popupshow event handler + Event handler content attribute + onprogress HTML elements @@ -128591,12 +128599,6 @@ interface External { select event handler Event handler content attribute - - onshow - HTML elements - show event handler - Event handler content attribute - onslotchange HTML elements @@ -129263,12 +129265,6 @@ INSERT INTERFACES HERE Window Fired at the Window when the fragment part of the document's URL changes - - hide - Event - Elements - Fired on a pop-up when it is hidden. - input Event @@ -129347,6 +129343,18 @@ INSERT INTERFACES HERE Window Fired at the Window when the user navigates the session history + + popuphide + Event + Elements + Fired on an element with the popup attribute when it is hidden. + + + popupshow + Event + Elements + Fired on an element with the popup attribute when it is shown. + readystatechange Event @@ -129371,12 +129379,6 @@ INSERT INTERFACES HERE Form controls Fired at form controls when their text selection is adjusted (whether by an API or by the user) - - show - Event - Elements - Fired on a pop-up when it is shown. - storage StorageEvent