From 22256435360c46b7bc4168ea3509910d8501db5b Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Tue, 11 Oct 2022 15:46:35 -0700 Subject: [PATCH] squash all commits and rebase #2 --- source | 2126 +++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 1799 insertions(+), 327 deletions(-) diff --git a/source b/source index 931744b2247..cd49bbf77b0 100644 --- a/source +++ b/source @@ -1823,6 +1823,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute element.

+ +
  • If removedNode's popup attribute is not in the + no pop-up state, then run the hide pop-up + algorithm given removedNode, false, and true.

  • A The tree, shadow tree, and node tree concepts

  • The tree order and shadow-including tree order concepts
  • +
  • The element concept
  • The child concept
  • The root and shadow-including root concepts
  • The inclusive ancestor, @@ -3174,6 +3179,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute is value
  • MutationObserver interface and mutation observers in general
  • +
  • The get an attribute by name algorithm
  • The following features are defined in UI Events:

    @@ -3810,10 +3816,18 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The 'user-select' property
  • -

    The algorithm to update - animations and send events is defined in Web Animations. .

    +

    The following features and terms are defined in the Web Animations + specification:

    + +

    Implementations that support scripting must support the CSS Object Model. The following features and terms are defined in the CSSOM specifications: @@ -10993,6 +11007,12 @@ interface HTMLElement : Element { [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerText; ElementInternals attachInternals(); + + // The pop-up API + void showPopUp(); + void hidePopUp(); + [Unscopable, CEReactions] attribute DOMString? popUp; + [CEReactions] attribute boolean defaultOpen; }; HTMLElement includes GlobalEventHandlers; @@ -12224,10 +12244,12 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%

    +

    Elements with the popup attribute set whose pop-up + visibility state is hidden are expected to act as + if they had a user-agent-level style sheet rule setting their 'display' property set + to 'none'.

    +

    Phrasing content

    @namespace url(http://www.w3.org/1999/xhtml);
    @@ -121816,7 +123230,6 @@ if (s = prompt('What is your name?')) {
     
        
    label on menu elements
    contextmenu on all elements
    -
    onshow on all elements

    To implement a custom context menu, use script to handle the contextmenu event.

    @@ -125787,6 +127200,11 @@ interface External { input Replacement text for use when images are not available
    Text* + + anchor + HTML elements + Makes the specified element a parent of this element in the pop-up hierarchy if both elements have the popup attribute + Id of the pop-up parent element as link @@ -125943,6 +127361,11 @@ interface External { track Enable the track if no other text track is more suitable Boolean attribute + + defaultopen + HTML elements + Makes pop-up elements automatically open on page load + Boolean attribute defer script @@ -126391,6 +127814,31 @@ interface External { video Encourage the user agent to display video content within the element's playback area Boolean attribute + + popup + HTML elements + Makes the element a pop-up element + "auto"; + "hint"; + "manual"; + + popuphidetarget + input; + button + Hides the specified pop-up element when clicked + Id of the element to hide + + popupshowtarget + input; + button + Shows the specified pop-up element when clicked + Id of the element to show + + popuptoggletarget + input; + button + Toggles the specified pop-up element when clicked + Id of the element to toggle poster video @@ -127107,6 +128555,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 @@ -127911,6 +129371,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