diff options
Diffstat (limited to 'dom/html/nsGenericHTMLElement.cpp')
-rw-r--r-- | dom/html/nsGenericHTMLElement.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/html/nsGenericHTMLElement.cpp b/dom/html/nsGenericHTMLElement.cpp index f7340ed7be..0f32d8fb42 100644 --- a/dom/html/nsGenericHTMLElement.cpp +++ b/dom/html/nsGenericHTMLElement.cpp @@ -2170,6 +2170,10 @@ nsGenericHTMLFormElement::IsHTMLFocusable(bool aWithMouse, return true; } +#ifdef XP_MACOSX + *aIsFocusable = + (!aWithMouse || nsFocusManager::sMouseFocusesFormControl) && *aIsFocusable; +#endif return false; } |