Re: [pointerevents] Clarify that pointer event listeners are passive by default (#360)

> this is new, and i don't think defined anywhere? this definitely should be added in the spec if it's supposed to be normative (and we need a test for this as well). or is it just a heuristic that blink does?

No this is not new. I just tested it with Safari and Firefox and they all do the same as what Blink does today. This is what I expect from the `passive: true` in the event listener as defined in the DOM spec. Meaning that the default action of the event will run regardless of whether the handler calls preventDefault or not. So I assume we are inline with how passiveness is spec'ed already and nothing to add to PointerEvent spec.

Our default action in this case I'm testing is [dispatching compat mouse events](,events%20by%20canceling%20the%20pointerdown%20event.) and calling `preventDefault` does prevent it. But if we add `passive: true`  mouse events continue firing despite `preventDefault`.

GitHub Notification of comment by NavidZ
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Wednesday, 21 April 2021 22:36:39 UTC