Fixing the focusable content method so that only trees (and not tree cells)

are focusable.
This commit is contained in:
hyatt%netscape.com 1999-08-24 00:43:03 +00:00
parent b08d08ff27
commit 29b55c601b
3 changed files with 3 additions and 3 deletions

View File

@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
PRBool
RDFElementImpl::IsFocusableContent()
{
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
return (mTag == kTitledButtonAtom) ||
(mTag == kTreeAtom);
}

View File

@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
PRBool
RDFElementImpl::IsFocusableContent()
{
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
return (mTag == kTitledButtonAtom) ||
(mTag == kTreeAtom);
}

View File

@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
PRBool
RDFElementImpl::IsFocusableContent()
{
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
return (mTag == kTitledButtonAtom) ||
(mTag == kTreeAtom);
}