/src/main/java/org/htmlunit/html/HtmlTextArea.java
if ( next != null) {
if ( next == null ) {
else { DomNode next = child.getNextSibling(); while (next != null && !(next instanceof DomText)) { child = next; next = child.getNextSibling(); } <extra_id_0> removeChild(child); final DomText newChild = new DomText(getPage(), newValue); appendChild(newChild); } else { ((DomText) next).setData(newValue);