mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 387347 Text with "float" style inaccessible
r=aaronleventhal
This commit is contained in:
parent
047eedf672
commit
172d985b89
@ -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