Closed Bug 64059 Opened 25 years ago Closed 25 years ago

Extra newline stored in clipboard when copying text

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 55661

People

(Reporter: sgifford+mozilla-old, Assigned: rubydoo123)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-3 i686; en-US; m18) Gecko/20001226 BuildID: 2000122610 If I enter text on a form, then select any portion of it which does not include the end of a line, a newline is still placed onto the clipboard after the selected text. Reproducible: Always Steps to Reproduce: 1. Visit a page with a fill-out form 2. Enter some text in a textarea or a line of text 3. Hilight a portion of it which does not include a newline 4. Paste (with middle-click) into another application or the form itself. Actual Results: The pasted text includes a newline at the end. Expected Results: Only the hilighted text being placed on the clipboard.
This will happen for any text formatted with the equivalent of <pre>, not just form elements *** This bug has been marked as a duplicate of 55661 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified dupe of bug 55661: "cut & paste from text files always adds <newline> at the end of pasted text"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.