mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 535116 - EOF handling after <xmp>< in wrong in the HTML5 parser. rs=sicking.
--HG-- extra : rebase_source : 707323bc1dbdf085d202aa3a14914eb9e1f9a362
This commit is contained in:
parent
23999745f4
commit
e4f44ea018
@ -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: {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user