Bug 308710. Create accessibles for out of flow frames. r+sr=bryner

git-svn-id: svn://10.0.0.236/trunk@180828 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net 2005-09-22 21:59:06 +00:00
parent 7867d0df46
commit f3f69699c1

View File

@ -91,6 +91,15 @@ public:
virtual PRBool IsEmpty() { return PR_TRUE; }
virtual PRBool IsSelfEmpty() { return PR_TRUE; }
#ifdef ACCESSIBILITY
NS_IMETHOD GetAccessible(nsIAccessible** aAccessible)
{
nsIFrame *realFrame = GetRealFrameForPlaceholder(this);
return realFrame ? realFrame->GetAccessible(aAccessible) :
nsSplittableFrame::GetAccessible(aAccessible);
}
#endif
/**
* @return the out-of-flow for aFrame if aFrame is a placeholder; otherwise
* aFrame