Bug 294180. MSAA positional descriptions wrong for radio buttons in HTML form. r=timeless, sr=bz, a=chofmann

This commit is contained in:
aaronleventhal%moonset.net 2005-05-17 21:50:27 +00:00
parent 60fb0077f6
commit 94d23dfa0d

View File

@ -1514,7 +1514,7 @@ nsHTMLFormElement::GetPositionInGroup(nsIDOMHTMLInputElement *aRadio,
nsCOMPtr<nsISupports> itemWithName;
nsresult rv = ResolveName(name, getter_AddRefs(itemWithName));
NS_ENSURE_TRUE(rv, rv);
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIDOMNodeList> radioNodeList(do_QueryInterface(itemWithName));
// XXX If ResolveName could return an nsContentList instead then we