Added Methods BeginContext() and EndContext()

to handle illegal-contents in tables


git-svn-id: svn://10.0.0.236/trunk@27615 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
1999-04-15 20:08:04 +00:00
parent 636b7a7452
commit 3b1e086b68
12 changed files with 200 additions and 0 deletions

View File

@@ -398,6 +398,32 @@ nsHTMLContentSinkStream::DoFragment(PRBool aFlag)
return NS_OK;
}
/**
* This gets called when handling illegal contents, especially
* in dealing with tables. This method creates a new context.
*
* @update 04/04/99 harishd
* @param aPosition - The position from where the new context begins.
*/
NS_IMETHODIMP
nsHTMLContentSinkStream::BeginContext(PRInt32 aPosition)
{
return NS_OK;
}
/**
* This method terminates any new context that got created by
* BeginContext and switches back to the main context.
*
* @update 04/04/99 harishd
* @param aPosition - Validates the end of a context.
*/
NS_IMETHODIMP
nsHTMLContentSinkStream::EndContext(PRInt32 aPosition)
{
return NS_OK;
}
void nsHTMLContentSinkStream::EnsureBufferSize(PRInt32 aNewSize)
{