Skip to content

[cssom-view-1] Type of event to append to pending scroll events when an element gets scrolled? #12924

@tidoust

Description

@tidoust

In Scrolling, the algorithm for "Whenever an element gets scrolled (whether in response to user interaction or by an API)" has:

  1. If the element is already in doc’s pending scroll events, abort these steps.
  2. Append the element to doc’s pending scroll events.

But the pending scroll events list stores pairs of (EventTarget, DOMString), not only an event target. What type of event should be added to the list along with the element?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions