Navigation Menu

Skip to content

Commit

Permalink
[sailfishos][gecko] Make <button> hit testing similar to other elemen…
Browse files Browse the repository at this point in the history
…ts. Contributes to JB#51683

This is a backported version of the fix for mozilla bug 1089326: "make
<button> hit testing similar to other elements which may have some
content, and for click target find the common (interactive) ancestor,
r=masayuki"

See https://hg.mozilla.org/mozilla-central/rev/36b949bef798

Essentially it makes hit targetting of the <button> element the same as
for other elements. Previously only the button element itself could be
the target, even for hits on its children. This change makes it so that
the children can be targets as well (so select, hover, etc. can be
captured by them as well).

This patch should be removed after the upgrade to ESR68.
  • Loading branch information
llewelld committed Nov 24, 2020
1 parent e96fd36 commit e8c67ca
Show file tree
Hide file tree
Showing 2 changed files with 707 additions and 0 deletions.

0 comments on commit e8c67ca

Please sign in to comment.