зеркало из https://github.com/mozilla/pjs.git
Bug 125295. Active Accessibility: HTML <button> element should be a leaf. r=jgaunt, sr=hewitt, a=shaver
This commit is contained in:
Родитель
5e83a74b66
Коммит
5dbaacefb9
|
@ -212,7 +212,7 @@ NS_IMETHODIMP nsHTMLButtonAccessible::GetAccName(nsAWritableString& _retval)
|
|||
// ----- HTML 4 Button: can contain arbitrary HTML content -----
|
||||
|
||||
nsHTML4ButtonAccessible::nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
|
||||
nsBlockAccessible(aNode, aShell)
|
||||
nsLeafAccessible(aNode, aShell)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ public:
|
|||
NS_IMETHOD AccDoAction(PRUint8 index);
|
||||
};
|
||||
|
||||
class nsHTML4ButtonAccessible : public nsBlockAccessible
|
||||
class nsHTML4ButtonAccessible : public nsLeafAccessible
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче