mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 387347 Text with "float" style inaccessible
r=aaronleventhal
This commit is contained in:
parent
0336304911
commit
224a0c9463
@ -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")
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user