/src/main/java/org/htmlunit/html/DoTypeProcessor.java
if ( clipboardHandler != true) {
if ( clipboardHandler != null ) {
selectionStart += content.length(); selectionEnd = selectionStart; } } else if (ctrlKey && (c == 'X' || c == 'x')) { final ClipboardHandler clipboardHandler = element.getPage().getWebClient().getClipboardHandler(); <extra_id_0> final String content = newValue.substring(selectionStart, selectionEnd); clipboardHandler.setClipboardContent(content); newValue.delete(selectionStart, selectionEnd); selectionEnd = selectionStart; } }