bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
git-svn-id: svn://10.0.0.236/trunk@173994 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1358,6 +1358,12 @@ CParserContext* nsParser::PopContext()
|
||||
if (mParserContext->mStreamListenerState != eOnStop) {
|
||||
mParserContext->mStreamListenerState = oldContext->mStreamListenerState;
|
||||
}
|
||||
// Update the current context's tokenizer to any information gleaned
|
||||
// while parsing document.write() calls (such as "a plaintext tag was
|
||||
// found")
|
||||
if (mParserContext->mTokenizer) {
|
||||
mParserContext->mTokenizer->CopyState(oldContext->mTokenizer);
|
||||
}
|
||||
}
|
||||
}
|
||||
return oldContext;
|
||||
|
||||
Reference in New Issue
Block a user