* (non-Javadoc)
*
* @see org.w3c.dom.html.HTMLTextAreaElement#getForm()
*/
public HTMLFormElement getForm() {
ANode parent = parentNode;
while (parent != null && !(parent instanceof HTMLFormElement)) {
parent = parent.parentNode;
}
return parent instanceof HTMLFormElement ? (HTMLFormElement)parent : null;
}