startTagForm method

void startTagForm(
  1. StartTagToken token
)

Implementation

void startTagForm(StartTagToken token) {
  parser.parseError(token.span, 'unexpected-form-in-table');
  if (tree.formPointer == null) {
    tree.insertElement(token);
    tree.formPointer = tree.openElements.last;
    tree.openElements.removeLast();
  }
}