Skip to content

Clarify how to handle removed pointer capture element #551

@masayuki-nakano

Description

@masayuki-nakano

According to #526, when the override element is removed from the DOM, the pending element should be set to null and according to the other Pointer Event dispatching rules, browsers shouldn't dispatch lostpointercapture element on the removed target when the next processing of pending pointer capture.

However, what should happen if the node is moved to somewhere, especially when the node is moved into another document before processing the pointer capture. Should lostpointercapture be fired on the temporarily removed target? However, I feel it's odd that the event is fired on another document in the latter case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions