# File lib/html5/html5parser/in_table_body_phase.rb, line 55
    def endTagTable(name)
      if in_scope?('tbody', true) or in_scope?('thead', true) or in_scope?('tfoot', true)
        clearStackToTableBodyContext
        endTagTableRowGroup(@tree.open_elements.last.name)
        @parser.phase.processEndTag(name)
      else
        # inner_html case
        parse_error
      end
    end