[Webkit-unassigned] [Bug 80838] New: Final newline (LF or CRLF) in paste buffer is converted to space

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 12 08:09:33 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80838

           Summary: Final newline (LF or CRLF) in paste buffer is
                    converted to space
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gconklin at gmail.com


Using Chrome 19.0.1061.1 dev-m (and many previous versions)

Chrome had a related bug (http://code.google.com/p/chromium/issues/detail?id=106551) dealing with the final newline in the paste buffer that they fixed (https://bugs.webkit.org/show_bug.cgi?id=79305), but they say the second part is a WebKit issue and has always been that way. However, no other browser works this way.

On a form where an INPUT TYPE=TEXT field is pasted into, the final newline is converted to a space and other browsers I tested truncate it.

Given a paste buffer of "A[newline]B[newline]C[newline]" the results of the paste into the TEXT field in various browsers is:

FireFox: "A B C"
IE: "A B C"
Chrome/WebKit: "A B C " (trailing space after C)

This is most noticeable when copying text from a MS Excel field. If the TEXT field is a password field (***) you won't even see the trailing space to know to remove it with a quick backspace.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list