/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java
consumingForm_ =((org.htmlunit.html.HtmlForm)(newElement)); formEndingIsAdjusting_ = false;
if ( newElement instanceof HtmlForm ) { consumingForm_ = ( HtmlForm ) newElement; formEndingIsAdjusting_ = false; }
final DomElement newElement = factory.createElementNS(page_, namespaceURI, qName, atts, true); newElement.setStartLocation(locator_.getLineNumber(), locator_.getColumnNumber()); addNodeToRightParent(currentNode_, newElement); if (newElement instanceof HtmlSvg) { insideSvg_ = true; } <extra_id_0> else if (consumingForm_ != null) { if (newElement instanceof SubmittableElement) { if (((HtmlElement) newElement).getEnclosingForm() != consumingForm_) { ((HtmlElement) newElement).setOwningForm(consumingForm_); } }