зеркало из https://github.com/mozilla/pjs.git
Bug 535116 - EOF handling after <xmp>< in wrong in the HTML5 parser. rs=sicking.
--HG-- extra : rebase_source : 707323bc1dbdf085d202aa3a14914eb9e1f9a362
This commit is contained in:
Родитель
3e26572f61
Коммит
b69e33b63c
|
@ -3460,13 +3460,14 @@ nsHtml5Tokenizer::eof()
|
|||
tokenHandler->characters(nsHtml5Tokenizer::LT_GT, 0, 1);
|
||||
goto eofloop_end;
|
||||
}
|
||||
case NS_HTML5TOKENIZER_RAWTEXT_RCDATA_LESS_THAN_SIGN_STATE: {
|
||||
tokenHandler->characters(nsHtml5Tokenizer::LT_GT, 0, 1);
|
||||
goto eofloop_end;
|
||||
}
|
||||
case NS_HTML5TOKENIZER_NON_DATA_END_TAG_NAME: {
|
||||
if (index < contentModelElementNameAsArray.length) {
|
||||
goto eofloop_end;
|
||||
} else {
|
||||
|
||||
goto eofloop_end;
|
||||
}
|
||||
tokenHandler->characters(nsHtml5Tokenizer::LT_SOLIDUS, 0, 2);
|
||||
emitStrBuf();
|
||||
goto eofloop_end;
|
||||
}
|
||||
case NS_HTML5TOKENIZER_CLOSE_TAG_OPEN: {
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче