From 627ee28acc813e8f6cc11368131778ab20a1c50b Mon Sep 17 00:00:00 2001 From: Dominique Hazael-Massieux Date: Fri, 7 Oct 2022 08:20:00 +0200 Subject: [PATCH] Clean up the events index Implement the rule suggested in #8340 to have the events table only include events that the HTML spec actually fires. * Drop contextmenu, copy, cut, paste, securitypolicyviolation, and slotchange entries from the table. * Add a pointercancel entry to the table. * Reference the original definitions of copy, cut, paste, securitypolicyviolation, and slotchange, in their own specs. * Drop a reference to Page Visibility and drop Page Visibility from the list of references. * Add introductory text to the index, mentioning that the list completes the media element events list and drag-and-drop events list. This replaces the note that previously followed the table. Closes #8340. --- source | 65 ++++++++++++++++++++-------------------------------------- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/source b/source index 2994434c3e8..3259b6a0fc0 100644 --- a/source +++ b/source @@ -3091,6 +3091,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • The slot assignment concept
  • The slottable concept
  • The assign slottables for a tree algorithm
  • +
  • The slotchange event
  • The inclusive descendant concept
  • The find flattened slottables algorithm
  • The manual slot assignment concept
  • @@ -3227,6 +3228,14 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • pointercancel event
  • +

    The following events are defined in Clipboard API and events:

    + + +

    This specification sometimes uses the term name to refer to the event's type; as in, "an event named click" or "if the event name is keypress". The terms @@ -4114,6 +4123,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

  • The contains a header-delivered Content Security Policy property.
  • The Parse a response's Content Security Policies algorithm.
  • SecurityPolicyViolationEvent interface
  • +
  • The securitypolicyviolation event
  • @@ -127754,6 +127764,10 @@ INSERT INTERFACES HERE +

    The following table lists events fired by this document, excluding those + already defined in media element events and + drag-and-drop events.

    + @@ -127838,31 +127852,12 @@ INSERT INTERFACES HERE - - - - - + - -
    List of events
    canvas elements, OffscreenCanvas objects Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is lost -
    contextmenu - PointerEvent - Elements - Fired at elements when the user requests their context menu -
    contextrestored Event canvas elements, OffscreenCanvas objects Fired when the corresponding CanvasRenderingContext2D or OffscreenCanvasRenderingContext2D is restored after being lost -
    copy - Event - Elements - Fired at elements when the user copies data to the clipboard - -
    cut - Event - Elements - Fired at elements when the user copies the selected data on the clipboard and removes the - selection from the document -
    error Event or ErrorEvent @@ -127888,7 +127883,7 @@ INSERT INTERFACES HERE Fired at the Window when the fragment part of the document's URL changes
    input + input Event Elements Fired when the user changes the contenteditable element's content, or the form control's value. See also the change event for form controls. @@ -127953,12 +127948,11 @@ INSERT INTERFACES HERE Window Fired at the Window when the page's entry in the session history becomes the current entry -
    paste +
    pointercancel Event Elements - Fired at elements when the user will insert the clipboard data in the most suitable - format (if any) supported for the given context + Fired at the source node when the user attempts to initiate a drag-and-drop operation.
    popstate @@ -127984,24 +127978,12 @@ INSERT INTERFACES HERE form elements Fired at a form element when it is reset -
    securitypolicyviolation - SecurityPolicyViolationEvent - Elements - Fired at elements when a Content Security Policy violation is generated -
    select Event Form controls Fired at form controls when their text selection is adjusted (whether by an API or by the user) -
    slotchange - Event - slot elements - Fired at slot elements when their assigned nodes change -
    storage StorageEvent @@ -128037,13 +128019,10 @@ INSERT INTERFACES HERE Event Document Fired at the Document object when the page becomes visible or hidden to the - user. + user.
    -

    See also media element events and drag-and-drop events.

    -

    HTTP headers

    @@ -128222,6 +128201,9 @@ INSERT INTERFACES HERE
    [CHARMODNORM]
    (Non-normative) Character Model for the World Wide Web: String Matching, A. Phillips. W3C.
    +
    [CLIPBOARD-APIS]
    +
    Clipboard API and events, G. Kacmarcik, A. Snigdha. W3C.
    +
    [COMPOSITE]
    Compositing and Blending, R. Cabanier, N. Andronikos. W3C.
    @@ -128547,9 +128529,6 @@ INSERT INTERFACES HERE
    [PAINTTIMING]
    Paint Timing, S. Panicker. W3C.
    -
    [PAGEVIS]
    -
    (Non-normative) Page Visibility Level 2, I. Grigorik, A. Jain, J. Mann. W3C.
    -
    [PAYMENTREQUEST]
    Payment Request API, M. Cáceres, D. Wang, R. Solomakhin, I. Jacobs. W3C.