r=jst. Fixing refcounting of ID attribute atoms. Additional work to earlier checkin for fixing bug 10292. Also, added support for getElementByID() in XML documents.

This commit is contained in:
nisheeth@netscape.com
2000-09-01 02:21:06 +00:00
parent 592df5d72f
commit 3d5e4d2332
8 changed files with 28 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ nsresult CStartToken::GetIDAttributeAtom(nsIAtom** aResult)
{
NS_ENSURE_ARG_POINTER(aResult);
*aResult = mIDAttributeAtom;
NS_IF_ADDREF(*aResult);
return NS_OK;
}