Fix bug 658.

Needed to update to nsXIFDTD to match new nsSkippedContentToken API
This commit is contained in:
kostello@netscape.com
1998-09-28 21:25:22 +00:00
parent bf7ad2180f
commit 39aa20c7df
2 changed files with 4 additions and 0 deletions

View File

@@ -1879,6 +1879,8 @@ void nsXIFDTD::EndCSSStyleSheet(const nsIParserNode& aNode)
mBuffer.Append(tagName);
mBuffer.Append(">");
CSkippedContentToken* skipped = new CSkippedContentToken(mBuffer);
nsString& key = skipped->GetKey();
key = mBuffer;
startNode.SetSkippedContent(skipped);
mSink->AddLeaf(startNode);

View File

@@ -1879,6 +1879,8 @@ void nsXIFDTD::EndCSSStyleSheet(const nsIParserNode& aNode)
mBuffer.Append(tagName);
mBuffer.Append(">");
CSkippedContentToken* skipped = new CSkippedContentToken(mBuffer);
nsString& key = skipped->GetKey();
key = mBuffer;
startNode.SetSkippedContent(skipped);
mSink->AddLeaf(startNode);