зеркало из https://github.com/mozilla/pjs.git
Fix a non-libxul accessibility build bustage (regression from bug 598238); r=davidb a=bustagefix
This commit is contained in:
Родитель
407c290d6c
Коммит
f1cc1e4edd
|
@ -89,7 +89,7 @@ nsHTMLSelectListAccessible::GetStateInternal(PRUint32 *aState,
|
|||
*aState &= ~nsIAccessibleStates::STATE_FOCUSED;
|
||||
}
|
||||
}
|
||||
if (mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::multiple))
|
||||
if (mContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::multiple))
|
||||
*aState |= nsIAccessibleStates::STATE_MULTISELECTABLE |
|
||||
nsIAccessibleStates::STATE_EXTSELECTABLE;
|
||||
|
||||
|
@ -117,14 +117,14 @@ nsHTMLSelectListAccessible::IsSelect()
|
|||
bool
|
||||
nsHTMLSelectListAccessible::SelectAll()
|
||||
{
|
||||
return mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::multiple) ?
|
||||
return mContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::multiple) ?
|
||||
nsAccessibleWrap::SelectAll() : false;
|
||||
}
|
||||
|
||||
bool
|
||||
nsHTMLSelectListAccessible::UnselectAll()
|
||||
{
|
||||
return mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::multiple) ?
|
||||
return mContent->HasAttr(kNameSpaceID_None, nsAccessibilityAtoms::multiple) ?
|
||||
nsAccessibleWrap::UnselectAll() : false;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче