diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 82d7d7670947..b730a3e3e44d 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -11764,6 +11764,17 @@ nsCSSFrameConstructor::GenerateChildFrames(nsIFrame* aFrame) 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 mPresShell->GetDocument()->BindingManager()->ProcessAttachedQueue();