mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +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
|
|
@ -523,18 +523,6 @@ nsXULElement::IsFocusableInternal(int32_t *aTabIndex, bool aWithMouse)
|
|||
// elements are not focusable by default
|
||||
bool shouldFocus = false;
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
// on Mac, mouse interactions only focus the element if it's a list,
|
||||
// or if it's a remote target, since the remote target must handle
|
||||
// the focus.
|
||||
if (aWithMouse &&
|
||||
IsNonList(mNodeInfo) &&
|
||||
!EventStateManager::IsRemoteTarget(this))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
nsCOMPtr<nsIDOMXULControlElement> xulControl = do_QueryObject(this);
|
||||
if (xulControl) {
|
||||
// a disabled element cannot be focused and is not part of the tab order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue