mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +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
|
PRBool
|
||||||
RDFElementImpl::IsFocusableContent()
|
RDFElementImpl::IsFocusableContent()
|
||||||
{
|
{
|
||||||
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
|
return (mTag == kTitledButtonAtom) ||
|
||||||
(mTag == kTreeAtom);
|
(mTag == kTreeAtom);
|
||||||
}
|
}
|
||||||
|
@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
|
|||||||
PRBool
|
PRBool
|
||||||
RDFElementImpl::IsFocusableContent()
|
RDFElementImpl::IsFocusableContent()
|
||||||
{
|
{
|
||||||
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
|
return (mTag == kTitledButtonAtom) ||
|
||||||
(mTag == kTreeAtom);
|
(mTag == kTreeAtom);
|
||||||
}
|
}
|
||||||
|
@ -3442,6 +3442,6 @@ RDFElementImpl::RemoveFocus(nsIPresContext* aPresContext)
|
|||||||
PRBool
|
PRBool
|
||||||
RDFElementImpl::IsFocusableContent()
|
RDFElementImpl::IsFocusableContent()
|
||||||
{
|
{
|
||||||
return (mTag == kTitledButtonAtom) || (mTag == kTreeCellAtom) ||
|
return (mTag == kTitledButtonAtom) ||
|
||||||
(mTag == kTreeAtom);
|
(mTag == kTreeAtom);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user