You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix edge case: click events inside buttons with popover descendants
Given a structure like:
```
<button popovertarget=foo>Activate
<div popover id=foo>Clicking me shouldn't close me</div>
</button>
```
With the popover open, clicking the popover will propagate a click
upward to the button, which will close the button. This change ensures
that the original target is checked, and if it is a
ShadowIncludingDescendantOf the button then the popover behaviour is not
invoked.
Differential Revision: https://phabricator.services.mozilla.com/D259955
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1932700
gecko-commit: c966ce3fbecccc0f8d0f08f373a600d71d9a2f7a
gecko-reviewers: dom-core, smaug
0 commit comments