Add several missing "reprocess token" calls in the parser

Some token were just swallowed because of this.
This commit is contained in:
iska
2015-04-07 00:59:21 +02:00
parent 83ece1af93
commit 99579ff5eb
+4
View File
@@ -1537,6 +1537,7 @@
_pendingTableCharacterTokens.characters = @"";
_originalInsertionMode = _insertionMode;
[self switchInsertionMode:HTMLInsertionModeInTableText];
[self reprocessToken:token];
return;
} else {
break;
@@ -1921,6 +1922,7 @@
return;
} else {
[self closeTheCell];
[self reprocessToken:token];
}
} else {
break;
@@ -1935,6 +1937,7 @@
return;
} else {
[self closeTheCell];
[self reprocessToken:token];
}
} else {
break;
@@ -2136,6 +2139,7 @@
[self emitParseError:@"Unexpected Token after <body>"];
[self switchInsertionMode:HTMLInsertionModeInBody];
[self reprocessToken:token];
}
- (void)HTMLInsertionModeInFrameset:(HTMLToken *)token