endTagTableRowGroup method
void
endTagTableRowGroup(
- EndTagToken token
Implementation
void endTagTableRowGroup(EndTagToken token) {
if (tree.elementInScope(token.name, variant: 'table')) {
clearStackToTableBodyContext();
final node = tree.openElements.removeLast();
node.endSourceSpan = token.span;
parser.phase = parser._inTablePhase;
} else {
parser.parseError(
token.span, 'unexpected-end-tag-in-table-body', {'name': token.name});
}
}