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