/src/main/java/org/htmlunit/html/HtmlSelect.java
final List<HtmlOption> options = getOptions ( ) ;
if (isClick && !ctrlKey) { if (!shiftKey) { setOnlySelected(selectedOption, isSelected); lastSelectedIndex_ = getOptions().indexOf(selectedOption); } else if (isSelected && lastSelectedIndex_ != -1) { <extra_id_0> final int newIndex = options.indexOf(selectedOption); for (int i = 0; i < options.size(); i++) { options.get(i).setSelectedInternal(isBetween(i, lastSelectedIndex_, newIndex)); } } }