mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-23 12:53:07 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
This commit is contained in:
parent
434b3269fb
commit
d29e4f8306
71 changed files with 100 additions and 5342 deletions
|
|
@ -116,15 +116,8 @@ HTMLSummaryElement::IsHTMLFocusable(bool aWithMouse, bool* aIsFocusable,
|
|||
return disallowOverridingFocusability;
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
// The parent does not have strong opinion about the focusability of this main
|
||||
// summary element, but we'd like to override it when mouse clicking on Mac OS
|
||||
// like other form elements.
|
||||
*aIsFocusable = !aWithMouse || nsFocusManager::sMouseFocusesFormControl;
|
||||
#else
|
||||
// The main summary element is focusable on other platforms.
|
||||
// The main summary element is focusable on all supported platforms.
|
||||
*aIsFocusable = true;
|
||||
#endif
|
||||
|
||||
// Give a chance to allow the subclass to override aIsFocusable.
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue