diff --git a/accessible/src/base/nsAccessibilityAtomList.h b/accessible/src/base/nsAccessibilityAtomList.h index d8313bf8076..3737bfc523f 100755 --- a/accessible/src/base/nsAccessibilityAtomList.h +++ b/accessible/src/base/nsAccessibilityAtomList.h @@ -77,6 +77,7 @@ ACCESSIBILITY_ATOM(deckFrame, "DeckFrame") ACCESSIBILITY_ATOM(inlineBlockFrame, "InlineBlockFrame") ACCESSIBILITY_ATOM(inlineFrame, "InlineFrame") ACCESSIBILITY_ATOM(objectFrame, "ObjectFrame") +ACCESSIBILITY_ATOM(placeholderFrame, "PlaceholderFrame") ACCESSIBILITY_ATOM(scrollFrame, "ScrollFrame") ACCESSIBILITY_ATOM(textFrame, "TextFrame") ACCESSIBILITY_ATOM(tableCellFrame, "TableCellFrame") diff --git a/accessible/src/base/nsAccessibilityService.cpp b/accessible/src/base/nsAccessibilityService.cpp index 481a7b78cf9..33806999b55 100644 --- a/accessible/src/base/nsAccessibilityService.cpp +++ b/accessible/src/base/nsAccessibilityService.cpp @@ -1384,7 +1384,8 @@ NS_IMETHODIMP nsAccessibilityService::GetAccessible(nsIDOMNode *aNode, } if (tryFrame) { - if (frame->GetRect().IsEmpty()) { + if (frame->GetType() != nsAccessibilityAtoms::placeholderFrame && + frame->GetRect().IsEmpty()) { *aIsHidden = PR_TRUE; return NS_OK; }