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

git-svn-id: svn://10.0.0.236/trunk@173526 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net
2005-05-17 21:50:27 +00:00
parent 48935af23b
commit 248c8d6370

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