return null;
Element element = doc.getDefaultRootElement(); Element tagElement = null;  while (element != null) { Object otag = element.getAttributes().getAttribute( StyleConstants.NameAttribute); if (otag instanceof HTML.Tag && otag.equals(tag)) tagElement = element; element = element.getElement(element.getElementIndex(offset)); }  return tagElement;
      protected Element findElementMatchingTag(HTMLDocument doc,                                               int offset, HTML.Tag tag)      {        // FIXME: Not implemented.        return null;      }