[Webkit-unassigned] [Bug 188152] New: Copying an entire line from a textarea copies two newlines

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 29 16:08:45 PDT 2018


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

            Bug ID: 188152
           Summary: Copying an entire line from a textarea copies two
                    newlines
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: matt.mollison at gmail.com
                CC: wenson_hsieh at apple.com

Steps to reproduce:
1. Visit https://codemirror.net
2. Triple-click one line of text to select the entire line
3. Copy the selected text (via Cmd-C)
4. Paste the line a few times in the same text area, and see that there are empty lines between pasted lines
5. Alternatively, paste into a separate text editor (e.g., TextEdit, Sublime Text, BBEdit, Google Doc), and see that there are empty lines between pasted lines

The behavior in step 5 suggests that the issue is with copying (i.e., two newlines are copied), and that the behavior is not related to pasting.

This issue shows the same behavior as described in an old bug https://bugs.webkit.org/show_bug.cgi?id=49288 but since the old bug was about pasting and this one is about copying, I believe this bug is different.

Also, just noting that the context I usually experience this bug in is in Jupyter Notebooks, which are popular browser-based documents with text areas that are meant for writing code and markdown.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180729/3fa7935f/attachment.html>


More information about the webkit-unassigned mailing list