Bug 125295. Active Accessibility: HTML <button> element should be a leaf. r=jgaunt, sr=hewitt, a=shaver

This commit is contained in:
aaronl%netscape.com 2002-03-01 07:27:33 +00:00
parent 22931b9e75
commit 613d78d4b4
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{
}

View File

@ -78,7 +78,7 @@ public:
NS_IMETHOD AccDoAction(PRUint8 index);
};
class nsHTML4ButtonAccessible : public nsBlockAccessible
class nsHTML4ButtonAccessible : public nsLeafAccessible
{
public: