Bug 1658996 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

> look at parents only when event bubbles

Dispatching a `MouseEvent("click", {bubbles: false})` will cause activation behavior on a parent, as there is no check for `mBubbles` around the activation behavior in `GetEventTargetParent` e.g. [here](https://searchfox.org/mozilla-central/source/dom/html/HTMLInputElement.cpp#3109). Per the spec [here](https://dom.spec.whatwg.org/#ref-for-dom-event-bubbles%E2%91%A4) this is not the correct behavior.

Back to Bug 1658996 Comment 3