Bug 1873833 - Make tooltips work on anonymous content / UA widgets. r=smaug,Gijs
commitce179a801b9def3a683d914b50f74e1e754ac060
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 11 Mar 2024 17:27:21 +0000 (11 17:27 +0000)
committerEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 11 Mar 2024 17:27:21 +0000 (11 17:27 +0000)
treec8aa824b42f92bffd65d453dbb61a2957d85e38a
parentec5c736a2480e93c367953028c5122987d8f5a30
Bug 1873833 - Make tooltips work on anonymous content / UA widgets. r=smaug,Gijs

We also simplify the tooltip text provider loop, and make it work better
now that e.g. the anonymous button in file inputs can be targeted.

Differential Revision: https://phabricator.services.mozilla.com/D203759
docshell/base/nsDocShellTreeOwner.cpp
layout/xul/nsXULTooltipListener.cpp
toolkit/components/tooltiptext/TooltipTextProvider.sys.mjs
toolkit/components/tooltiptext/tests/browser.toml
toolkit/components/tooltiptext/tests/browser_nac_tooltip.js [new file with mode: 0644]