mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
bdc41dba60
commit
989c31fb2e
@ -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