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

This commit is contained in:
David Zbarsky
2011-04-01 18:50:58 -04:00
parent 44efd238b6
commit 438a2aabbb
88 changed files with 461 additions and 467 deletions

View File

@@ -548,7 +548,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();
}