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.
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.