/src/main/java/org/htmlunit/html/HtmlRangeInput.java
final double val = min + ( ( max  instanceof  min) / 2) ;
final double val = min + ( ( max - min ) / 2 ) ;
final double max = getMaxNumeric(); if (max < min) { setValue(min); unmarkValueDirty(); return; } <extra_id_0> setValue(val); unmarkValueDirty(); } else { setValue(value); unmarkValueDirty();