зеркало из https://github.com/mozilla/gecko-dev.git
Bug 488249 more build bustage fixes
This commit is contained in:
Родитель
03ca855cdc
Коммит
a92c5173aa
|
@ -1049,7 +1049,7 @@ nsAccessible::GetStateInternal(PRUint32 *aState, PRUint32 *aExtraState)
|
|||
*aState |= nsIAccessibleStates::STATE_FLOATING;
|
||||
|
||||
// Check if a XUL element has the popup attribute (an attached popup menu).
|
||||
if (content->IsNodeOfType(nsINode::eXUL))
|
||||
if (content->IsXUL())
|
||||
if (content->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::popup))
|
||||
*aState |= nsIAccessibleStates::STATE_HASPOPUP;
|
||||
|
||||
|
@ -3228,7 +3228,7 @@ nsAccessible::GetActionRule(PRUint32 aStates)
|
|||
return eJumpAction;
|
||||
|
||||
// Return "click" action on elements that have an attached popup menu.
|
||||
if (content->IsNodeOfType(nsINode::eXUL))
|
||||
if (content->IsXUL())
|
||||
if (content->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::popup))
|
||||
return eClickAction;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче