Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst

git-svn-id: svn://10.0.0.236/trunk@135841 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2003-01-03 23:17:22 +00:00
parent e1cb593313
commit ba933c6526
22 changed files with 323 additions and 196 deletions

View File

@@ -95,6 +95,7 @@ public:
NS_IMETHOD OpenContainer(const nsIParserNode& aNode);
NS_IMETHOD CloseContainer(const nsHTMLTag aTag);
NS_IMETHOD CloseTopmostContainer();
NS_IMETHOD AddHeadContent(const nsIParserNode& aNode);
NS_IMETHOD AddLeaf(const nsIParserNode& aNode);
NS_IMETHOD AddComment(const nsIParserNode& aNode);
NS_IMETHOD AddProcessingInstruction(const nsIParserNode& aNode);
@@ -287,6 +288,11 @@ NS_IMETHODIMP RobotSink::CloseTopmostContainer()
return NS_OK;
}
NS_IMETHODIMP RobotSink::AddHeadContent(const nsIParserNode& aNode)
{
return NS_OK;
}
NS_IMETHODIMP RobotSink::AddLeaf(const nsIParserNode& aNode)
{
return NS_OK;