Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Define events directly caused by user interaction #270

@npm1

Description

@npm1

Currently the Event Timing spec uses an ad-hoc list of events to try to capture those which may be directly caused by user interactions: https://github.com/WICG/event-timing. This is prone to become obsolete over time unless the list is evolved while considering every new event type being created. Therefore, it would be preferable to have this list provided by UI Events, possibly in the form of an internal slot or associated concept of an Event. See w3c/event-timing#49.

Relatedly, we've tried to use certain kinds of events as determining that a meaningful user interaction has occurred for Largest Contentful Paint (https://wicg.github.io/largest-contentful-paint/). However, we query the isTrusted boolean and that is not sufficiently accurate, as for example trusted scrolls may be created from JS APIs. See w3c/largest-contentful-paint#56.

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