mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-08 07:53:54 +00:00
Fixing the focusable content method so that only trees (and not tree cells)
are focusable.
This commit is contained in:
parent
b08d08ff27
commit
29b55c601b
@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
|
||||
PRBool
|
||||
RDFElementImpl::IsFocusableContent()
|
||||
{
|
||||
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
|
||||
return (mTag == kTitledButtonAtom) ||
|
||||
(mTag == kTreeAtom);
|
||||
}
|
||||
|
@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
|
||||
PRBool
|
||||
RDFElementImpl::IsFocusableContent()
|
||||
{
|
||||
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
|
||||
return (mTag == kTitledButtonAtom) ||
|
||||
(mTag == kTreeAtom);
|
||||
}
|
||||
|
@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
|
||||
PRBool
|
||||
RDFElementImpl::IsFocusableContent()
|
||||
{
|
||||
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
|
||||
return (mTag == kTitledButtonAtom) ||
|
||||
(mTag == kTreeAtom);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user