зеркало из https://github.com/mozilla/gecko-dev.git
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
This commit is contained in:
Родитель
fd1cb665a9
Коммит
5f252c1063
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче