Bug 583514 - implement click and accesskey for all HTML elements r=smaug

This commit is contained in:
David Zbarsky
2011-04-11 18:56:37 +02:00
parent 56a791a650
commit 12198192cb
87 changed files with 459 additions and 464 deletions

View File

@@ -526,7 +526,7 @@ NS_IMETHODIMP nsHTMLTextFieldAccessible::GetActionName(PRUint8 aIndex, nsAString
NS_IMETHODIMP nsHTMLTextFieldAccessible::DoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMNSHTMLElement> element(do_QueryInterface(mContent));
nsCOMPtr<nsIDOMHTMLElement> element(do_QueryInterface(mContent));
if ( element ) {
return element->Focus();
}