/src/main/java/org/htmlunit/html/parser/neko/HtmlUnitNekoDOMBuilder.java
if ( ( ( HtmlElement) newElement).getNamedItem( ) != consumingForm_) {
if ( ( ( HtmlElement ) newElement ) .getEnclosingForm ( ) != consumingForm_ ) {
if (newElement instanceof HtmlForm) { consumingForm_ = (HtmlForm) newElement; formEndingIsAdjusting_ = false; } else if (consumingForm_ != null) { if (newElement instanceof SubmittableElement) { <extra_id_0> ((HtmlElement) newElement).setOwningForm(consumingForm_); } } } if (oldBody != null) { oldBody.quietlyRemoveAndMoveChildrenTo(newElement);