- Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows

authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
This commit is contained in:
nisheeth@netscape.com
2000-08-30 00:35:43 +00:00
parent d6dca7b427
commit 8e209d470c
36 changed files with 489 additions and 87 deletions

View File

@@ -140,6 +140,24 @@ void CStartToken::Reinitialize(PRInt32 aTag, const nsString& aString){
mTrailingContent.Truncate();
}
nsresult CStartToken::GetIDAttributeAtom(nsIAtom** aResult)
{
NS_ENSURE_ARG_POINTER(aResult);
*aResult = mIDAttributeAtom;
return NS_OK;
}
nsresult CStartToken::SetIDAttributeAtom(nsIAtom* aID)
{
NS_ENSURE_ARG(aID);
mIDAttributeAtom = aID;
return NS_OK;
}
/*
* This method returns the typeid (the tag type) for this token.
*