w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
145 stars 52 forks source link

Can any code be run between mouseup and click handlers? #161

Open NavidZ opened 6 years ago

NavidZ commented 6 years ago

This issue is raised in a chromium bug and shows some behavioral difference among browsers:

When the mouseup happens and click is fired right after that is it guaranteed that click handler will be right after mouseup handler? Can a promise get resolved in the mouseup handler and be run before click handler? How about style changes? I couldn't find anywhere in the spec that covers this.