Skip to content

PointerMove: Should not wait synchronously for all subsequent pointer moves #42235

@yezhizhen

Description

@yezhizhen

Describe the bug:
spec: Wait asynchronously, and run perform pointermove in parallel.

Right now we wait synchronously tho:

// Step 9. Run the following substeps in parallel:
// Step 9.1. Asynchronously wait for an implementationdefined amount of time to pass
thread::sleep(Duration::from_millis(POINTERMOVE_INTERVAL));

This breaks the whole point of tick, which is to make sure we simultaneously perform actions from multiple sources within a single unit time.

Blocks:
#41923
#41290

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions