public void closeTag(TagElement tElement)
public boolean closeTag(TagElement tElement)
  public void closeTag(TagElement tElement)  {    HTML.Tag tag = tElement.getHTMLTag();    hTag x;    hTag close;    if (!stack.isEmpty())      {        ListIterator iter = stack.listIterator(stack.size());        while (iter.hasPrevious())          {            x = (hTag) iter.previous();            if (tag.equals(x.tag))              {                if (x.forcibly_closed && !x.element.omitEnd())                  s_error("The tag <" + x.tag +                          "> has already been forcibly closed"                         );                // If the tag has a content model defined, forcibly close all                // tags that were opened after the tag being currently closed.                closing:                 if (x.element.content != null)                  {                    iter = stack.listIterator(stack.size());                    while (iter.hasPrevious())                      {                        close = (hTag) iter.previous();                        if (close == x)                          break closing;                        handleSupposedEndTag(close.element);                        iter.remove();                      }                  }                stack.remove(x);                return;              }          }      }    s_error("Closing unopened <" + tag + ">");  }