clearStackToTableBodyContext method
void
clearStackToTableBodyContext()
Implementation
void clearStackToTableBodyContext() {
final tableTags = const ['tbody', 'tfoot', 'thead', 'html'];
while (!tableTags.contains(tree.openElements.last.localName)) {
//XXX parser.parseError(token.span, "unexpected-implied-end-tag-in-table",
// {"name": tree.openElements.last.name})
tree.openElements.removeLast();
}
if (tree.openElements.last.localName == 'html') {
assert(parser.innerHTMLMode);
}
}