Issue #2401 - Part 3: Don't toggle focus-within state past the nearest common flattened tree ancestor.

Resolves #2401
This commit is contained in:
Moonchild 2024-01-09 18:23:47 +01:00 committed by roytam1
commit bd723aac28
2 changed files with 32 additions and 8 deletions

View file

@ -583,6 +583,7 @@ private:
// focus rings: in the losing focus case that information could be
// wrong..
static void NotifyFocusStateChange(nsIContent* aContent,
nsIContent* aContentToFocus,
bool aWindowShouldShowFocusRing,
bool aGettingFocus);