mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 630194 - Make sure accessibility is notified for all lazily generated frames, r=surkov, sr=bz, a=final+
This commit is contained in:
parent
acce678852
commit
f37a97c681
@ -11764,6 +11764,17 @@ nsCSSFrameConstructor::GenerateChildFrames(nsIFrame* aFrame)
|
|||||||
EndUpdate();
|
EndUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ACCESSIBILITY
|
||||||
|
nsAccessibilityService* accService = nsIPresShell::AccService();
|
||||||
|
if (accService) {
|
||||||
|
nsIContent* container = aFrame->GetContent();
|
||||||
|
nsIContent* child = container->GetFirstChild();
|
||||||
|
if (child) {
|
||||||
|
accService->ContentRangeInserted(mPresShell, container, child, nsnull);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// call XBL constructors after the frames are created
|
// call XBL constructors after the frames are created
|
||||||
mPresShell->GetDocument()->BindingManager()->ProcessAttachedQueue();
|
mPresShell->GetDocument()->BindingManager()->ProcessAttachedQueue();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user