startTagTableOther method

Token? startTagTableOther(
  1. StartTagToken token
)

Implementation

Token? startTagTableOther(StartTagToken token) {
  if (tree.elementInScope('td', variant: 'table') ||
      tree.elementInScope('th', variant: 'table')) {
    closeCell();
    return token;
  } else {
    // innerHTML case
    assert(parser.innerHTMLMode);
    parser.parseError(token.span, 'undefined-error');
    return null;
  }
}