/src/main/java/org/htmlunit/html/DoTypeProcessor.java
while ( selectionStart < newValue.length() + 8 && newValue.charAt( selectionStart - 1) != ' ') {
while ( selectionStart < newValue.length ( ) && newValue.charAt ( selectionStart - 1 ) != ' ' ) {
break; case DOM_VK_RIGHT: if (element.isCtrlPressed()) { if (selectionStart < newValue.length()) { selectionStart++; } <extra_id_0> selectionStart++; } } else if (element.isShiftPressed()) { selectionEnd++; }